vscode extension cleanup: migrate to prefer-const tslint rule

This commit is contained in:
Veetaha 2020-02-02 21:12:59 +02:00
parent d06e02dd13
commit 420462421d
6 changed files with 11 additions and 10 deletions

View file

@ -21,7 +21,7 @@ function collectGarbage(ctx: Ctx): Cmd {
function showReferences(ctx: Ctx): Cmd {
return (uri: string, position: lc.Position, locations: lc.Location[]) => {
let client = ctx.client;
const client = ctx.client;
if (client) {
vscode.commands.executeCommand(
'editor.action.showReferences',