mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Interupt geterror requests for signature help requests
See 7eed623657 for more details
This commit is contained in:
@@ -33,7 +33,7 @@ class TypeScriptSignatureHelpProvider implements vscode.SignatureHelpProvider {
|
||||
...typeConverters.Position.toFileLocationRequestArgs(filepath, position),
|
||||
triggerReason: toTsTriggerReason(context!)
|
||||
};
|
||||
const response = await this.client.execute('signatureHelp', args, token);
|
||||
const response = await this.client.interuptGetErr(() => this.client.execute('signatureHelp', args, token));
|
||||
if (response.type !== 'response' || !response.body) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user