Skip to content

Commit

Permalink
fix(module:code-editor): fix declaration of Window as monaco-editor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
simplejason committed Oct 15, 2022
1 parent ba90876 commit bdf6507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/code-editor/typings.ts
Expand Up @@ -10,7 +10,7 @@ import IDiffEditorConstructionOptions = editor.IDiffEditorConstructionOptions;

declare global {
interface Window {
MonacoEnvironment: Environment | undefined;
MonacoEnvironment?: Environment | undefined;
}
}

Expand Down

0 comments on commit bdf6507

Please sign in to comment.