Remove expect error for TS 4.0
This commit is contained in:
parent
391bca591e
commit
d21ff5b1c3
1 changed files with 0 additions and 2 deletions
|
@ -345,7 +345,6 @@ class CompletionAcceptedCommand implements Command {
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
this.telemetryReporter.logTelemetry('completions.accept', {
|
this.telemetryReporter.logTelemetry('completions.accept', {
|
||||||
// @ts-expect-error - remove after TS 4.0 protocol update
|
|
||||||
isPackageJsonImport: item.tsEntry.isPackageJsonImport ? 'true' : undefined,
|
isPackageJsonImport: item.tsEntry.isPackageJsonImport ? 'true' : undefined,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -540,7 +539,6 @@ class TypeScriptCompletionItemProvider implements vscode.CompletionItemProvider<
|
||||||
for (let entry of entries) {
|
for (let entry of entries) {
|
||||||
if (!shouldExcludeCompletionEntry(entry, completionConfiguration)) {
|
if (!shouldExcludeCompletionEntry(entry, completionConfiguration)) {
|
||||||
items.push(new MyCompletionItem(position, document, entry, completionContext, metadata));
|
items.push(new MyCompletionItem(position, document, entry, completionContext, metadata));
|
||||||
// @ts-expect-error - remove after TS 4.0 protocol update
|
|
||||||
includesPackageJsonImport = !!entry.isPackageJsonImport;
|
includesPackageJsonImport = !!entry.isPackageJsonImport;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue