فهرست منبع

fix: Monitor if --isolatedModules is enabled (#1825)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Sporesirius 4 سال پیش
والد
کامیت
9a662d2601
2فایلهای تغییر یافته به همراه9 افزوده شده و 1 حذف شده
  1. 5 0
      .changes/api-export-type.md
  2. 4 1
      tooling/api/src/window.ts

+ 5 - 0
.changes/api-export-type.md

@@ -0,0 +1,5 @@
+---
+"api": patch
+---
+
+Use `export type` to export TS types.

+ 4 - 1
tooling/api/src/window.ts

@@ -741,7 +741,6 @@ export {
   getCurrent,
   getAll,
   appWindow,
-  Monitor,
   LogicalSize,
   PhysicalSize,
   LogicalPosition,
@@ -750,3 +749,7 @@ export {
   primaryMonitor,
   availableMonitors
 }
+
+export type {
+  Monitor
+}