eng - less TPromise in extHostCommands

This commit is contained in:
Johannes Rieken
2017-12-11 14:07:36 +01:00
parent 7e71229ce8
commit 9faf001bad
3 changed files with 8 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ export class MainThreadCommands implements MainThreadCommandsShape {
this._generateCommandsDocumentationRegistration.dispose();
}
private _generateCommandsDocumentation(): TPromise<void> {
private _generateCommandsDocumentation(): Thenable<void> {
return this._proxy.$getContributedCommandHandlerDescriptions().then(result => {
// add local commands
const commands = CommandsRegistry.getCommands();