Skip to content

Commit

Permalink
fix(api): WebviewWindow constructor is public (#1888)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed May 21, 2021
1 parent d1f650e commit 4aeb936
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/webview-window-constructor-pub.md
@@ -0,0 +1,5 @@
---
"api": patch
---

Mark the `WebviewWindow` constructor as public.
2 changes: 1 addition & 1 deletion core/tauri/scripts/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tooling/api/src/window.ts
Expand Up @@ -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',
Expand Down

0 comments on commit 4aeb936

Please sign in to comment.