Remove extra cast
Not required with TS 3.8
This commit is contained in:
parent
75aa5fdcbf
commit
45999fdb8f
|
@ -464,7 +464,7 @@ class TypeScriptCompletionItemProvider implements vscode.CompletionItemProvider
|
||||||
return this.client.apiVersion.gte(API.v310) && this.client.apiVersion.lt(API.v320) ? undefined : '@';
|
return this.client.apiVersion.gte(API.v310) && this.client.apiVersion.lt(API.v320) ? undefined : '@';
|
||||||
|
|
||||||
case '#': // Workaround for https://github.com/microsoft/TypeScript/issues/36367
|
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 '.':
|
||||||
case '"':
|
case '"':
|
||||||
|
|
Loading…
Reference in a new issue