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

This commit is contained in:
Lucas Fernandes Nogueira
2021-05-21 13:25:10 -03:00
committed by GitHub
parent d1f650edd3
commit 4aeb936e9b
3 changed files with 7 additions and 2 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -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',