mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Made recommended changes
This commit is contained in:
@@ -82,6 +82,10 @@ export class MainThreadCommands implements MainThreadCommandsShape {
|
||||
return this._commandService.onDidExecuteCommand((command) => this.handleExecuteCommand(command));
|
||||
}
|
||||
|
||||
$disposeListeners() {
|
||||
return this._commandService.disposeListeners();
|
||||
}
|
||||
|
||||
$getCommands(): Promise<string[]> {
|
||||
return Promise.resolve(Object.keys(CommandsRegistry.getCommands()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user