Bladeren bron

fix(api): export WebviewWindowHandle type

Lucas Nogueira 4 jaren geleden
bovenliggende
commit
46ea873311
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 0 0
      core/tauri/scripts/bundle.js
  2. 2 1
      tooling/api/src/window.ts

File diff suppressed because it is too large
+ 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,

Some files were not shown because too many files changed in this diff