mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(api): WebviewWindow constructor is public (#1888)
This commit is contained in:
committed by
GitHub
parent
d1f650edd3
commit
4aeb936e9b
5
.changes/webview-window-constructor-pub.md
Normal file
5
.changes/webview-window-constructor-pub.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Mark the `WebviewWindow` constructor as public.
|
||||
File diff suppressed because one or more lines are too long
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user