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:
Matt Bierner
2020-06-05 11:04:15 -07:00
committed by GitHub
parent 96ce46b217
commit cadabab73f
338 changed files with 459 additions and 459 deletions

View File

@@ -41,7 +41,7 @@ export interface IExtHostTunnelService extends ExtHostTunnelServiceShape {
export const IExtHostTunnelService = createDecorator<IExtHostTunnelService>('IExtHostTunnelService');
export class ExtHostTunnelService implements IExtHostTunnelService {
_serviceBrand: undefined;
declare readonly _serviceBrand: undefined;
onDidChangeTunnels: vscode.Event<void> = (new Emitter<void>()).event;
private readonly _proxy: MainThreadTunnelServiceShape;