Made recommended changes

This commit is contained in:
Harry Hedger
2019-04-16 01:51:22 -07:00
parent 8755a2aa35
commit b9c3c20a75
13 changed files with 32 additions and 14 deletions

View File

@@ -114,6 +114,7 @@ export interface MainThreadClipboardShape extends IDisposable {
export interface MainThreadCommandsShape extends IDisposable {
$registerCommand(id: string): void;
$onDidExecuteCommand(): void;
$disposeListeners(): void;
$unregisterCommand(id: string): void;
$executeCommand<T>(id: string, args: any[]): Promise<T | undefined>;
$getCommands(): Promise<string[]>;