Mark a few fields in ExtensionMemento as readonly

This commit is contained in:
Matt Bierner
2018-01-02 16:04:27 -08:00
parent 4173c6478d
commit 9d776df909

View File

@@ -25,11 +25,11 @@ import { ExtHostLogService } from 'vs/workbench/api/node/extHostLogService';
class ExtensionMemento implements IExtensionMemento {
private _id: string;
private _shared: boolean;
private _storage: ExtHostStorage;
private readonly _id: string;
private readonly _shared: boolean;
private readonly _storage: ExtHostStorage;
private _init: TPromise<ExtensionMemento>;
private readonly _init: TPromise<ExtensionMemento>;
private _value: { [n: string]: any; };
constructor(id: string, global: boolean, storage: ExtHostStorage) {