fix: add prefer-readonly rule (#5122)

This commit is contained in:
LongYinan
2023-11-29 04:44:25 +00:00
parent e9ea67bd38
commit 7a7cbc45d7
21 changed files with 39 additions and 36 deletions
@@ -63,9 +63,9 @@ export class SyncEngine {
private abort = new AbortController();
constructor(
private rootDoc: Doc,
private local: Storage,
private remotes: Storage[]
private readonly rootDoc: Doc,
private readonly local: Storage,
private readonly remotes: Storage[]
) {
this._status = {
step: SyncEngineStep.Stopped,