mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
eng - less TPromise in extHostCommands
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user