Skip to content

Commit 9a662d2

Browse files
Sporesiriuslucasfernog
andauthored
fix: Monitor if --isolatedModules is enabled (#1825)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent 86a23ff commit 9a662d2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changes/api-export-type.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"api": patch
3+
---
4+
5+
Use `export type` to export TS types.

tooling/api/src/window.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,6 @@ export {
741741
getCurrent,
742742
getAll,
743743
appWindow,
744-
Monitor,
745744
LogicalSize,
746745
PhysicalSize,
747746
LogicalPosition,
@@ -750,3 +749,7 @@ export {
750749
primaryMonitor,
751750
availableMonitors
752751
}
752+
753+
export type {
754+
Monitor
755+
}

0 commit comments

Comments
 (0)