Skip to content

Commit 378ec7e

Browse files
committed
Fix microsoft#37613. Avoid compilation error for standalone editor as exports typings is not available without node typings file.
1 parent 04ae1cc commit 378ec7e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/vs/editor/editor.main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { createMonacoEditorAPI } from 'vs/editor/standalone/browser/standaloneEd
1919
import { createMonacoLanguagesAPI } from 'vs/editor/standalone/browser/standaloneLanguages';
2020
import { EDITOR_DEFAULTS, WrappingIndent } from 'vs/editor/common/config/editorOptions';
2121

22+
declare var exports: any;
2223
var global: any = self;
2324
global.monaco = exports;
2425

0 commit comments

Comments
 (0)