Don't load editor api from global API but use require directly.
parent
a35721026f
commit
9eb7c18143
@ -1,8 +0,0 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
// Resolves with the global monaco API
|
||||
|
||||
export = (<any>self).monaco;
|
@ -0,0 +1,4 @@
|
||||
declare module 'vs/editor/editor.api' {
|
||||
const x: any;
|
||||
export = x;
|
||||
}
|
Loading…
Reference in New Issue