Make all emitters readonly

This commit is contained in:
Daniel Imms
2022-10-01 08:02:32 -07:00
parent cf9949840b
commit 1a22c44f2b
22 changed files with 67 additions and 67 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export class CharSizeService implements ICharSizeService {
public get hasValidSize(): boolean { return this.width > 0 && this.height > 0; }
private _onCharSizeChange = new EventEmitter<void>();
private readonly _onCharSizeChange = new EventEmitter<void>();
public readonly onCharSizeChange = this._onCharSizeChange.event;
constructor(