mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
deprecate old api command story
This commit is contained in:
@@ -393,6 +393,9 @@ export class ExtHostApiCommands {
|
||||
|
||||
// --- command impl
|
||||
|
||||
/**
|
||||
* @deprecated use the ApiCommand instead
|
||||
*/
|
||||
private _register(id: string, handler: (...args: any[]) => any, description?: ICommandHandlerDescription): void {
|
||||
const disposable = this._commands.registerCommand(false, id, handler, this, description);
|
||||
this._disposables.add(disposable);
|
||||
|
||||
Reference in New Issue
Block a user