strictPropertyInitialization, #78168

This commit is contained in:
Rachel Macfarlane
2019-08-05 09:05:11 -07:00
parent 6981de9dee
commit 8efcc47e18
7 changed files with 22 additions and 23 deletions

View File

@@ -253,13 +253,13 @@ export class ExtHostCommentThread implements vscode.CommentThread {
return this._range;
}
private _label: string;
private _label: string | undefined;
get label(): string {
get label(): string | undefined {
return this._label;
}
set label(label: string) {
set label(label: string | undefined) {
this._label = label;
this._onDidUpdateCommentThread.fire();
}