Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
protected async applyCodeAction(codeAction: tsp.CodeAction): Promise {
const client = await this.clientContribution.languageClient;
return client.sendRequest(ExecuteCommandRequest.type, {
command: Commands.APPLY_CODE_ACTION,
arguments: [codeAction]
});
}