Fix #37613. Avoid compilation error for standalone editor as exports
typings is not available without node typings file.
This commit is contained in:
parent
04ae1ccaae
commit
378ec7eb50
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ import { createMonacoEditorAPI } from 'vs/editor/standalone/browser/standaloneEd
|
|||
import { createMonacoLanguagesAPI } from 'vs/editor/standalone/browser/standaloneLanguages';
|
||||
import { EDITOR_DEFAULTS, WrappingIndent } from 'vs/editor/common/config/editorOptions';
|
||||
|
||||
declare var exports: any;
|
||||
var global: any = self;
|
||||
global.monaco = exports;
|
||||
|
||||
|
|
Loading…
Reference in a new issue