Skip to content

Commit

Permalink
fix: Monitor if --isolatedModules is enabled (#1825)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
  • Loading branch information
Sporesirius and lucasfernog committed May 13, 2021
1 parent 86a23ff commit 9a662d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/api-export-type.md
@@ -0,0 +1,5 @@
---
"api": patch
---

Use `export type` to export TS types.
5 changes: 4 additions & 1 deletion tooling/api/src/window.ts
Expand Up @@ -741,7 +741,6 @@ export {
getCurrent,
getAll,
appWindow,
Monitor,
LogicalSize,
PhysicalSize,
LogicalPosition,
Expand All @@ -750,3 +749,7 @@ export {
primaryMonitor,
availableMonitors
}

export type {
Monitor
}

0 comments on commit 9a662d2

Please sign in to comment.