소스 검색

fix(api): export WebviewWindowHandle type

Lucas Nogueira 4 년 전
부모
커밋
46ea873311
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 0
      core/tauri/scripts/bundle.js
  2. 2 1
      tooling/api/src/window.ts

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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,

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.