fix ts 2.4.1 compile errors in workbench/api

This commit is contained in:
Johannes Rieken
2017-06-15 10:40:45 +02:00
parent ac08540b94
commit 6fdfe2f055
6 changed files with 15 additions and 14 deletions

View File

@@ -218,7 +218,7 @@ export class CommandsConverter {
}
}
private _executeConvertedCommand(...args: any[]) {
private _executeConvertedCommand<R>(...args: any[]): Thenable<R> {
const actualCmd = this._heap.get<vscode.Command>(args[0]);
return this._commands.executeCommand(actualCmd.command, ...actualCmd.arguments);
}