mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
ESM: Do not append the .js suffix to imports if it's already there
This commit is contained in:
parent
5330724dff
commit
1134d5e82b
5 changed files with 56 additions and 5 deletions
|
|
@ -2094,6 +2094,21 @@ declare namespace monaco.editor {
|
|||
isAttachedToEditor(): boolean;
|
||||
}
|
||||
|
||||
export enum PositionAffinity {
|
||||
/**
|
||||
* Prefers the left most position.
|
||||
*/
|
||||
Left = 0,
|
||||
/**
|
||||
* Prefers the right most position.
|
||||
*/
|
||||
Right = 1,
|
||||
/**
|
||||
* No preference.
|
||||
*/
|
||||
None = 2
|
||||
}
|
||||
|
||||
/**
|
||||
* A change
|
||||
*/
|
||||
|
|
@ -4466,8 +4481,13 @@ declare namespace monaco.editor {
|
|||
/**
|
||||
* The column after which this zone should appear.
|
||||
* If not set, the maxLineColumn of `afterLineNumber` will be used.
|
||||
* This is relevant for wrapped lines.
|
||||
*/
|
||||
afterColumn?: number;
|
||||
/**
|
||||
* If the `afterColumn` has multiple view columns, the affinity specifies which one to use. Defaults to `none`.
|
||||
*/
|
||||
afterColumnAffinity?: PositionAffinity;
|
||||
/**
|
||||
* Suppress mouse down events.
|
||||
* If set, the editor will attach a mouse down listener to the view zone and .preventDefault on it.
|
||||
|
|
@ -6196,6 +6216,11 @@ declare namespace monaco.languages {
|
|||
*/
|
||||
readonly range?: IRange;
|
||||
readonly command?: Command;
|
||||
/**
|
||||
* If set to `true`, unopened closing brackets are removed and unclosed opening brackets are closed.
|
||||
* Defaults to `false`.
|
||||
*/
|
||||
readonly completeBracketPairs?: boolean;
|
||||
}
|
||||
|
||||
export interface InlineCompletions<TItem extends InlineCompletion = InlineCompletion> {
|
||||
|
|
|
|||
25
website/typedoc/monaco.d.ts
vendored
25
website/typedoc/monaco.d.ts
vendored
|
|
@ -2094,6 +2094,21 @@ declare namespace monaco.editor {
|
|||
isAttachedToEditor(): boolean;
|
||||
}
|
||||
|
||||
export enum PositionAffinity {
|
||||
/**
|
||||
* Prefers the left most position.
|
||||
*/
|
||||
Left = 0,
|
||||
/**
|
||||
* Prefers the right most position.
|
||||
*/
|
||||
Right = 1,
|
||||
/**
|
||||
* No preference.
|
||||
*/
|
||||
None = 2
|
||||
}
|
||||
|
||||
/**
|
||||
* A change
|
||||
*/
|
||||
|
|
@ -4466,8 +4481,13 @@ declare namespace monaco.editor {
|
|||
/**
|
||||
* The column after which this zone should appear.
|
||||
* If not set, the maxLineColumn of `afterLineNumber` will be used.
|
||||
* This is relevant for wrapped lines.
|
||||
*/
|
||||
afterColumn?: number;
|
||||
/**
|
||||
* If the `afterColumn` has multiple view columns, the affinity specifies which one to use. Defaults to `none`.
|
||||
*/
|
||||
afterColumnAffinity?: PositionAffinity;
|
||||
/**
|
||||
* Suppress mouse down events.
|
||||
* If set, the editor will attach a mouse down listener to the view zone and .preventDefault on it.
|
||||
|
|
@ -6196,6 +6216,11 @@ declare namespace monaco.languages {
|
|||
*/
|
||||
readonly range?: IRange;
|
||||
readonly command?: Command;
|
||||
/**
|
||||
* If set to `true`, unopened closing brackets are removed and unclosed opening brackets are closed.
|
||||
* Defaults to `false`.
|
||||
*/
|
||||
readonly completeBracketPairs?: boolean;
|
||||
}
|
||||
|
||||
export interface InlineCompletions<TItem extends InlineCompletion = InlineCompletion> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue