mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Mark _serviceBrand properties using declare (#99312)
_serviceBrand is only used for typing and should not result in emit Also adds readonly
This commit is contained in:
@@ -95,7 +95,7 @@ class MainProcessService implements IMainProcessService {
|
||||
private mainRouter: StaticRouter
|
||||
) { }
|
||||
|
||||
_serviceBrand: undefined;
|
||||
declare readonly _serviceBrand: undefined;
|
||||
|
||||
getChannel(channelName: string): IChannel {
|
||||
return this.server.getChannel(channelName, this.mainRouter);
|
||||
|
||||
Reference in New Issue
Block a user