Skip to content

Commit 4aeb936

Browse files
authored
fix(api): WebviewWindow constructor is public (#1888)
1 parent d1f650e commit 4aeb936

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"api": patch
3+
---
4+
5+
Mark the `WebviewWindow` constructor as public.

core/tauri/scripts/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tooling/api/src/window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class WebviewWindowHandle {
249249
* ```
250250
*/
251251
class WebviewWindow extends WebviewWindowHandle {
252-
private constructor(label: string, options: WindowOptions = {}) {
252+
constructor(label: string, options: WindowOptions = {}) {
253253
super(label)
254254
invokeTauriCommand({
255255
__tauriModule: 'Window',

0 commit comments

Comments
 (0)