mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Updates types caused by monaco-html update.
This commit is contained in:
parent
cb4199a26d
commit
45491d1a7e
2 changed files with 54 additions and 54 deletions
54
typedoc/monaco.d.ts
vendored
54
typedoc/monaco.d.ts
vendored
|
|
@ -7506,7 +7506,7 @@ declare namespace monaco.languages.html {
|
||||||
readonly wrapAttributes: 'auto' | 'force' | 'force-aligned' | 'force-expand-multiline';
|
readonly wrapAttributes: 'auto' | 'force' | 'force-aligned' | 'force-expand-multiline';
|
||||||
}
|
}
|
||||||
export interface CompletionConfiguration {
|
export interface CompletionConfiguration {
|
||||||
[providerId: string]: boolean;
|
readonly [providerId: string]: boolean;
|
||||||
}
|
}
|
||||||
export interface Options {
|
export interface Options {
|
||||||
/**
|
/**
|
||||||
|
|
@ -7598,18 +7598,18 @@ declare namespace monaco.languages.html {
|
||||||
*/
|
*/
|
||||||
export function registerHTMLLanguageService(
|
export function registerHTMLLanguageService(
|
||||||
languageId: string,
|
languageId: string,
|
||||||
options: Options,
|
options?: Options,
|
||||||
modeConfiguration: ModeConfiguration
|
modeConfiguration?: ModeConfiguration
|
||||||
): LanguageServiceRegistration;
|
): LanguageServiceRegistration;
|
||||||
export interface HTMLDataConfiguration {
|
export interface HTMLDataConfiguration {
|
||||||
/**
|
/**
|
||||||
* Defines whether the standard HTML tags and attributes are shown
|
* Defines whether the standard HTML tags and attributes are shown
|
||||||
*/
|
*/
|
||||||
useDefaultDataProvider?: boolean;
|
readonly useDefaultDataProvider?: boolean;
|
||||||
/**
|
/**
|
||||||
* Provides a set of custom data providers.
|
* Provides a set of custom data providers.
|
||||||
*/
|
*/
|
||||||
dataProviders?: {
|
readonly dataProviders?: {
|
||||||
[providerId: string]: HTMLDataV1;
|
[providerId: string]: HTMLDataV1;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -7618,40 +7618,40 @@ declare namespace monaco.languages.html {
|
||||||
* https://github.com/microsoft/vscode-html-languageservice/blob/main/docs/customData.md
|
* https://github.com/microsoft/vscode-html-languageservice/blob/main/docs/customData.md
|
||||||
*/
|
*/
|
||||||
export interface HTMLDataV1 {
|
export interface HTMLDataV1 {
|
||||||
version: 1 | 1.1;
|
readonly version: 1 | 1.1;
|
||||||
tags?: ITagData[];
|
readonly tags?: ITagData[];
|
||||||
globalAttributes?: IAttributeData[];
|
readonly globalAttributes?: IAttributeData[];
|
||||||
valueSets?: IValueSet[];
|
readonly valueSets?: IValueSet[];
|
||||||
}
|
}
|
||||||
export interface IReference {
|
export interface IReference {
|
||||||
name: string;
|
readonly name: string;
|
||||||
url: string;
|
readonly url: string;
|
||||||
}
|
}
|
||||||
export interface ITagData {
|
export interface ITagData {
|
||||||
name: string;
|
readonly name: string;
|
||||||
description?: string | MarkupContent;
|
readonly description?: string | MarkupContent;
|
||||||
attributes: IAttributeData[];
|
readonly attributes: IAttributeData[];
|
||||||
references?: IReference[];
|
readonly references?: IReference[];
|
||||||
}
|
}
|
||||||
export interface IAttributeData {
|
export interface IAttributeData {
|
||||||
name: string;
|
readonly name: string;
|
||||||
description?: string | MarkupContent;
|
readonly description?: string | MarkupContent;
|
||||||
valueSet?: string;
|
readonly valueSet?: string;
|
||||||
values?: IValueData[];
|
readonly values?: IValueData[];
|
||||||
references?: IReference[];
|
readonly references?: IReference[];
|
||||||
}
|
}
|
||||||
export interface IValueData {
|
export interface IValueData {
|
||||||
name: string;
|
readonly name: string;
|
||||||
description?: string | MarkupContent;
|
readonly description?: string | MarkupContent;
|
||||||
references?: IReference[];
|
readonly references?: IReference[];
|
||||||
}
|
}
|
||||||
export interface IValueSet {
|
export interface IValueSet {
|
||||||
name: string;
|
readonly name: string;
|
||||||
values: IValueData[];
|
readonly values: IValueData[];
|
||||||
}
|
}
|
||||||
export interface MarkupContent {
|
export interface MarkupContent {
|
||||||
kind: MarkupKind;
|
readonly kind: MarkupKind;
|
||||||
value: string;
|
readonly value: string;
|
||||||
}
|
}
|
||||||
export type MarkupKind = 'plaintext' | 'markdown';
|
export type MarkupKind = 'plaintext' | 'markdown';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7506,7 +7506,7 @@ declare namespace monaco.languages.html {
|
||||||
readonly wrapAttributes: 'auto' | 'force' | 'force-aligned' | 'force-expand-multiline';
|
readonly wrapAttributes: 'auto' | 'force' | 'force-aligned' | 'force-expand-multiline';
|
||||||
}
|
}
|
||||||
export interface CompletionConfiguration {
|
export interface CompletionConfiguration {
|
||||||
[providerId: string]: boolean;
|
readonly [providerId: string]: boolean;
|
||||||
}
|
}
|
||||||
export interface Options {
|
export interface Options {
|
||||||
/**
|
/**
|
||||||
|
|
@ -7598,18 +7598,18 @@ declare namespace monaco.languages.html {
|
||||||
*/
|
*/
|
||||||
export function registerHTMLLanguageService(
|
export function registerHTMLLanguageService(
|
||||||
languageId: string,
|
languageId: string,
|
||||||
options: Options,
|
options?: Options,
|
||||||
modeConfiguration: ModeConfiguration
|
modeConfiguration?: ModeConfiguration
|
||||||
): LanguageServiceRegistration;
|
): LanguageServiceRegistration;
|
||||||
export interface HTMLDataConfiguration {
|
export interface HTMLDataConfiguration {
|
||||||
/**
|
/**
|
||||||
* Defines whether the standard HTML tags and attributes are shown
|
* Defines whether the standard HTML tags and attributes are shown
|
||||||
*/
|
*/
|
||||||
useDefaultDataProvider?: boolean;
|
readonly useDefaultDataProvider?: boolean;
|
||||||
/**
|
/**
|
||||||
* Provides a set of custom data providers.
|
* Provides a set of custom data providers.
|
||||||
*/
|
*/
|
||||||
dataProviders?: {
|
readonly dataProviders?: {
|
||||||
[providerId: string]: HTMLDataV1;
|
[providerId: string]: HTMLDataV1;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -7618,40 +7618,40 @@ declare namespace monaco.languages.html {
|
||||||
* https://github.com/microsoft/vscode-html-languageservice/blob/main/docs/customData.md
|
* https://github.com/microsoft/vscode-html-languageservice/blob/main/docs/customData.md
|
||||||
*/
|
*/
|
||||||
export interface HTMLDataV1 {
|
export interface HTMLDataV1 {
|
||||||
version: 1 | 1.1;
|
readonly version: 1 | 1.1;
|
||||||
tags?: ITagData[];
|
readonly tags?: ITagData[];
|
||||||
globalAttributes?: IAttributeData[];
|
readonly globalAttributes?: IAttributeData[];
|
||||||
valueSets?: IValueSet[];
|
readonly valueSets?: IValueSet[];
|
||||||
}
|
}
|
||||||
export interface IReference {
|
export interface IReference {
|
||||||
name: string;
|
readonly name: string;
|
||||||
url: string;
|
readonly url: string;
|
||||||
}
|
}
|
||||||
export interface ITagData {
|
export interface ITagData {
|
||||||
name: string;
|
readonly name: string;
|
||||||
description?: string | MarkupContent;
|
readonly description?: string | MarkupContent;
|
||||||
attributes: IAttributeData[];
|
readonly attributes: IAttributeData[];
|
||||||
references?: IReference[];
|
readonly references?: IReference[];
|
||||||
}
|
}
|
||||||
export interface IAttributeData {
|
export interface IAttributeData {
|
||||||
name: string;
|
readonly name: string;
|
||||||
description?: string | MarkupContent;
|
readonly description?: string | MarkupContent;
|
||||||
valueSet?: string;
|
readonly valueSet?: string;
|
||||||
values?: IValueData[];
|
readonly values?: IValueData[];
|
||||||
references?: IReference[];
|
readonly references?: IReference[];
|
||||||
}
|
}
|
||||||
export interface IValueData {
|
export interface IValueData {
|
||||||
name: string;
|
readonly name: string;
|
||||||
description?: string | MarkupContent;
|
readonly description?: string | MarkupContent;
|
||||||
references?: IReference[];
|
readonly references?: IReference[];
|
||||||
}
|
}
|
||||||
export interface IValueSet {
|
export interface IValueSet {
|
||||||
name: string;
|
readonly name: string;
|
||||||
values: IValueData[];
|
readonly values: IValueData[];
|
||||||
}
|
}
|
||||||
export interface MarkupContent {
|
export interface MarkupContent {
|
||||||
kind: MarkupKind;
|
readonly kind: MarkupKind;
|
||||||
value: string;
|
readonly value: string;
|
||||||
}
|
}
|
||||||
export type MarkupKind = 'plaintext' | 'markdown';
|
export type MarkupKind = 'plaintext' | 'markdown';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue