Remove extra cast

Not required with TS 3.8
This commit is contained in:
Matt Bierner 2020-02-04 11:47:24 -08:00
parent 75aa5fdcbf
commit 45999fdb8f

View file

@ -464,7 +464,7 @@ class TypeScriptCompletionItemProvider implements vscode.CompletionItemProvider
return this.client.apiVersion.gte(API.v310) && this.client.apiVersion.lt(API.v320) ? undefined : '@';
case '#': // Workaround for https://github.com/microsoft/TypeScript/issues/36367
return this.client.apiVersion.lt(API.v381) ? undefined : '#' as Proto.CompletionsTriggerCharacter;
return this.client.apiVersion.lt(API.v381) ? undefined : '#';
case '.':
case '"':