mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user