Skip to content

Commit bdf6507

Browse files
authored
fix(module:code-editor): fix declaration of Window as monaco-editor (#7676)
1 parent ba90876 commit bdf6507

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/code-editor/typings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import IDiffEditorConstructionOptions = editor.IDiffEditorConstructionOptions;
1010

1111
declare global {
1212
interface Window {
13-
MonacoEnvironment: Environment | undefined;
13+
MonacoEnvironment?: Environment | undefined;
1414
}
1515
}
1616

0 commit comments

Comments
 (0)