CompletionItemLabel#label -> name

This commit is contained in:
Pine Wu
2020-01-15 10:37:33 +01:00
parent 79a01a0f27
commit 31ec4fe434
11 changed files with 17 additions and 23 deletions

View File

@@ -337,7 +337,7 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
const label = data[ISuggestDataDtoField.label];
const labelText = typeof label === 'string'
? label
: label.label;
: label.name;
return {
label: data[ISuggestDataDtoField.label],