Bladeren bron

fix(api): `WebviewWindow` constructor is public (#1888)

Lucas Fernandes Nogueira 4 jaren geleden
bovenliggende
commit
4aeb936e9b
3 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. 5 0
      .changes/webview-window-constructor-pub.md
  2. 0 0
      core/tauri/scripts/bundle.js
  3. 1 1
      tooling/api/src/window.ts

+ 5 - 0
.changes/webview-window-constructor-pub.md

@@ -0,0 +1,5 @@
+---
+"api": patch
+---
+
+Mark the `WebviewWindow` constructor as public.

File diff suppressed because it is too large
+ 0 - 0
core/tauri/scripts/bundle.js


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

@@ -249,7 +249,7 @@ class WebviewWindowHandle {
  * ```
  */
 class WebviewWindow extends WebviewWindowHandle {
-  private constructor(label: string, options: WindowOptions = {}) {
+  constructor(label: string, options: WindowOptions = {}) {
     super(label)
     invokeTauriCommand({
       __tauriModule: 'Window',

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