Ver Fonte

fix(api): export WebviewWindowHandle type

Lucas Nogueira há 4 anos atrás
pai
commit
46ea873311
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 0 0
      core/tauri/scripts/bundle.js
  2. 2 1
      tooling/api/src/window.ts

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
core/tauri/scripts/bundle.js


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

@@ -232,7 +232,7 @@ class WebviewWindowHandle {
  * ```
  */
 class WebviewWindow extends WebviewWindowHandle {
-  constructor(label: string, options: WindowOptions = {}) {
+  private constructor(label: string, options: WindowOptions = {}) {
     super(label)
     invokeTauriCommand({
       __tauriModule: 'Window',
@@ -737,6 +737,7 @@ async function availableMonitors(): Promise<Monitor[]> {
 
 export {
   WebviewWindow,
+  WebviewWindowHandle,
   getCurrent,
   getAll,
   appWindow,

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff