turn serviceId into _serviceBrand:any to follow common practive

see https://basarat.gitbooks.io/typescript/content/docs/tips/nominalTyping.html and 7b48a182c0/src/compiler/types.ts (L693-L698)
This commit is contained in:
Johannes Rieken
2016-07-07 12:09:53 +02:00
parent 1828d8a7bd
commit 2077cb3ff8
134 changed files with 239 additions and 247 deletions

View File

@@ -68,7 +68,7 @@ export class ExtensionHostMain {
const telemetryService = new RemoteTelemetryService('pluginHostTelemetry', threadService);
this._extensionService = new ExtHostExtensionService(threadService, telemetryService, {serviceId: 'optionalArgs', workspaceStoragePath });
this._extensionService = new ExtHostExtensionService(threadService, telemetryService, {_serviceBrand: 'optionalArgs', workspaceStoragePath });
// Connect to shared process services
const channel = sharedProcessClient.getChannel<IExtensionManagementChannel>('extensions');