mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
vscode.d.ts: add ColorPresentation constructor
This commit is contained in:
@@ -1087,6 +1087,13 @@ export class ColorPresentation {
|
||||
label: string;
|
||||
textEdit?: TextEdit;
|
||||
additionalTextEdits?: TextEdit[];
|
||||
|
||||
constructor(label: string) {
|
||||
if (!label || typeof label !== 'string') {
|
||||
throw illegalArgument('label');
|
||||
}
|
||||
this.label = label;
|
||||
}
|
||||
}
|
||||
|
||||
export enum ColorFormat {
|
||||
|
||||
Reference in New Issue
Block a user