More adoption of @extHostNamedCustomer

This commit is contained in:
Alex Dima
2017-08-16 09:54:08 +02:00
parent f91db52096
commit 159de8236e
11 changed files with 55 additions and 46 deletions

View File

@@ -11,7 +11,7 @@ import { TPromise } from 'vs/base/common/winjs.base';
import { ExtHostContext, MainThreadCommandsShape, ExtHostCommandsShape, MainContext, IExtHostContext } from '../node/extHost.protocol';
import { extHostNamedCustomer } from "vs/workbench/api/electron-browser/extHostCustomers";
@extHostNamedCustomer(MainContext.MainThreadCommands)
@extHostNamedCustomer<MainThreadCommandsShape>(MainContext.MainThreadCommands)
export class MainThreadCommands extends MainThreadCommandsShape {
private readonly _disposables = new Map<string, IDisposable>();