mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Slight changes to the shape of monaco.d.ts
This commit is contained in:
parent
739e59c08a
commit
ce0cf14a2b
|
@ -3,7 +3,7 @@
|
|||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
declare namespace monaco {
|
||||
export namespace monaco {
|
||||
|
||||
export type Thenable<T> = PromiseLike<T>;
|
||||
|
||||
|
@ -52,9 +52,9 @@ declare namespace monaco {
|
|||
#include(vs/editor/common/core/range): IRange, Range
|
||||
#include(vs/editor/common/core/selection): ISelection, Selection, SelectionDirection
|
||||
#include(vs/editor/common/core/token): Token
|
||||
}
|
||||
|
||||
|
||||
namespace editor {
|
||||
export 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;
|
||||
}
|
||||
|
||||
namespace languages {
|
||||
export namespace monaco.languages {
|
||||
|
||||
#includeAll(vs/editor/standalone/browser/standaloneLanguages;modes.=>;editorCommon.=>editor.;model.=>editor.;IMarkerData=>editor.IMarkerData):
|
||||
#includeAll(vs/editor/common/modes/languageConfiguration):
|
||||
|
@ -93,10 +93,8 @@ namespace languages {
|
|||
|
||||
}
|
||||
|
||||
namespace worker {
|
||||
export namespace monaco.worker {
|
||||
|
||||
#includeAll(vs/editor/common/services/editorSimpleWorker;):
|
||||
|
||||
}
|
||||
|
||||
}
|
12
src/vs/monaco.d.ts
vendored
12
src/vs/monaco.d.ts
vendored
|
@ -3,7 +3,7 @@
|
|||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
declare namespace monaco {
|
||||
export namespace monaco {
|
||||
|
||||
export type Thenable<T> = PromiseLike<T>;
|
||||
|
||||
|
@ -764,9 +764,9 @@ declare namespace monaco {
|
|||
constructor(offset: number, type: string, language: string);
|
||||
toString(): string;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace editor {
|
||||
export namespace monaco.editor {
|
||||
|
||||
|
||||
/**
|
||||
|
@ -3918,7 +3918,7 @@ declare namespace monaco {
|
|||
export type IModel = ITextModel;
|
||||
}
|
||||
|
||||
namespace languages {
|
||||
export namespace monaco.languages {
|
||||
|
||||
|
||||
/**
|
||||
|
@ -5141,7 +5141,7 @@ declare namespace monaco {
|
|||
|
||||
}
|
||||
|
||||
namespace worker {
|
||||
export namespace monaco.worker {
|
||||
|
||||
|
||||
export interface IMirrorModel {
|
||||
|
@ -5158,5 +5158,3 @@ declare namespace monaco {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue