Fix #37613. Avoid compilation error for standalone editor as exports typings is not available without node typings file.

This commit is contained in:
rebornix 2017-11-17 10:31:30 -08:00
parent 04ae1ccaae
commit 378ec7eb50

View file

@ -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;