Mark a few more fields as readonly

This commit is contained in:
Matt Bierner 2017-06-05 16:12:30 -07:00
parent 51b55e8021
commit f5b5966c94

View file

@ -185,10 +185,10 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
private requestQueue: RequestItem[];
private pendingResponses: number;
private callbacks: CallbackMap;
private _onProjectLanguageServiceStateChanged = new EventEmitter<Proto.ProjectLanguageServiceStateEventBody>();
private _onDidBeginInstallTypings = new EventEmitter<Proto.BeginInstallTypesEventBody>();
private _onDidEndInstallTypings = new EventEmitter<Proto.EndInstallTypesEventBody>();
private _onTypesInstallerInitializationFailed = new EventEmitter<Proto.TypesInstallerInitializationFailedEventBody>();
private readonly _onProjectLanguageServiceStateChanged = new EventEmitter<Proto.ProjectLanguageServiceStateEventBody>();
private readonly _onDidBeginInstallTypings = new EventEmitter<Proto.BeginInstallTypesEventBody>();
private readonly _onDidEndInstallTypings = new EventEmitter<Proto.EndInstallTypesEventBody>();
private readonly _onTypesInstallerInitializationFailed = new EventEmitter<Proto.TypesInstallerInitializationFailedEventBody>();
private _apiVersion: API;
private telemetryReporter: TelemetryReporter;