Parcourir la source

fix(api): export WebviewWindowHandle type

Lucas Nogueira il y a 4 ans
Parent
commit
46ea873311
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 0 0
      core/tauri/scripts/bundle.js
  2. 2 1
      tooling/api/src/window.ts

Fichier diff supprimé car celui-ci est trop grand
+ 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,

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff