Enabled the noUnusedLocals and added @tsignore

This commit is contained in:
Erich Gamma
2017-11-07 13:13:17 +01:00
parent c1bfc05014
commit c536efdfbc
202 changed files with 380 additions and 26 deletions

View File

@@ -142,6 +142,7 @@ export function createApiFactory(
// namespace: commands
const commands: typeof vscode.commands = {
// @ts-ignore unused generic parameter
registerCommand<T>(id: string, command: <T>(...args: any[]) => T | Thenable<T>, thisArgs?: any): vscode.Disposable {
return extHostCommands.registerCommand(id, command, thisArgs);
},