Эх сурвалжийг харах

fix(api): export WebviewWindowHandle type

Lucas Nogueira 4 жил өмнө
parent
commit
46ea873311

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
core/tauri/scripts/bundle.js


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

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

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно