Convert many simple getters for events into readonly properties

We seem to use the readonly property way of exposing these values more widely. Standardizing this a bit across the codebase
This commit is contained in:
Matt Bierner
2019-07-15 16:12:25 -07:00
parent 20d2018d18
commit 7411e3f341
62 changed files with 154 additions and 157 deletions

View File

@@ -57,7 +57,7 @@ export class MainThreadCommentThread implements modes.CommentThread {
}
private _onDidChangeLabel = new Emitter<string>();
get onDidChangeLabel(): Event<string> { return this._onDidChangeLabel.event; }
readonly onDidChangeLabel: Event<string> = this._onDidChangeLabel.event;
private _comments: modes.Comment[] | undefined;