dead are getters, long live readonly

This commit is contained in:
Joao Moreno
2017-07-20 15:01:18 +02:00
parent 6987cb0eb0
commit d17e8750e3

View File

@@ -13,7 +13,7 @@ export class ExtHostWindow implements ExtHostWindowShape {
private _proxy: MainThreadWindowShape;
private _onDidChangeWindowFocus = new Emitter<boolean>();
get onDidChangeWindowFocus(): Event<boolean> { return this._onDidChangeWindowFocus.event; }
readonly onDidChangeWindowFocus: Event<boolean> = this._onDidChangeWindowFocus.event;
private _isFocused = false;
get isFocused(): boolean { return this._isFocused; }