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
@@ -172,7 +172,7 @@ export class CoreMouseService implements ICoreMouseService {
private _activeEncoding: string = '';
private _lastEvent: ICoreMouseEvent | null = null;
private _onProtocolChange = new EventEmitter<CoreMouseEventType>();
private readonly _onProtocolChange = new EventEmitter<CoreMouseEventType>();
public readonly onProtocolChange = this._onProtocolChange.event;
constructor(