vscode.d.ts: add ColorPresentation constructor

This commit is contained in:
Martin Aeschlimann
2017-09-21 12:02:00 +02:00
parent 825e63f81a
commit 9b93a688a9
2 changed files with 14 additions and 0 deletions

View File

@@ -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 {