فهرست منبع

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

Lucas Fernandes Nogueira 4 سال پیش
والد
کامیت
4aeb936e9b
3فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  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.

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 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',

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است