Skip to content

Commit

Permalink
fix(api.js): appWindow shown as type any, fixes #3747
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars committed Mar 24, 2022
1 parent 266156a commit abc50f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/api/src/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ class WebviewWindow extends WindowManager {
}

/** The WebviewWindow for the current window. */
let appWindow
let appWindow: WebviewWindow
if ('__TAURI_METADATA__' in window) {
appWindow = new WebviewWindow(
window.__TAURI_METADATA__.__currentWindow.label,
Expand Down

0 comments on commit abc50f7

Please sign in to comment.