diff --git a/build/monaco/monaco.d.ts.recipe b/build/monaco/monaco.d.ts.recipe index 0ea6404a547..652c154d3d5 100644 --- a/build/monaco/monaco.d.ts.recipe +++ b/build/monaco/monaco.d.ts.recipe @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -export namespace monaco { +declare namespace monaco { export type Thenable = PromiseLike; @@ -54,7 +54,7 @@ export namespace monaco { #include(vs/editor/common/core/token): Token } -export namespace monaco.editor { +declare namespace monaco.editor { #includeAll(vs/editor/standalone/browser/standaloneEditor;modes.=>languages.;editorCommon.=>): #include(vs/editor/standalone/common/standaloneThemeService): BuiltinTheme, IStandaloneThemeData, IColors @@ -83,7 +83,7 @@ export type IReadOnlyModel = ITextModel; export type IModel = ITextModel; } -export namespace monaco.languages { +declare namespace monaco.languages { #includeAll(vs/editor/standalone/browser/standaloneLanguages;modes.=>;editorCommon.=>editor.;model.=>editor.;IMarkerData=>editor.IMarkerData): #includeAll(vs/editor/common/modes/languageConfiguration): @@ -93,7 +93,7 @@ export namespace monaco.languages { } -export namespace monaco.worker { +declare namespace monaco.worker { #includeAll(vs/editor/common/services/editorSimpleWorker;): diff --git a/src/vs/monaco.d.ts b/src/vs/monaco.d.ts index 3dc2a137336..e3c8e83df93 100644 --- a/src/vs/monaco.d.ts +++ b/src/vs/monaco.d.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -export namespace monaco { +declare namespace monaco { export type Thenable = PromiseLike; @@ -766,7 +766,7 @@ export namespace monaco { } } -export namespace monaco.editor { +declare namespace monaco.editor { /** @@ -3918,7 +3918,7 @@ export namespace monaco.editor { export type IModel = ITextModel; } -export namespace monaco.languages { +declare namespace monaco.languages { /** @@ -5141,7 +5141,7 @@ export namespace monaco.languages { } -export namespace monaco.worker { +declare namespace monaco.worker { export interface IMirrorModel {