Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 64a7feb

Browse files
authored
cast window to any
1 parent 7c87c0b commit 64a7feb

File tree

1 file changed

+1
-1
lines changed
  • Composer/packages/lib/code-editor/src/utils

1 file changed

+1
-1
lines changed

Composer/packages/lib/code-editor/src/utils/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ export function processSize(size) {
66
}
77

88
export function isElectron(): boolean {
9-
return !window.__IS_ELECTRON__;
9+
return !(window as any).__IS_ELECTRON__;
1010
}

0 commit comments

Comments
 (0)