chore: fix eslint in blocksuite (#9232)

This commit is contained in:
Saul-Mirone
2024-12-20 16:48:10 +00:00
parent bfcc53dc1f
commit 3a82da0e5b
269 changed files with 935 additions and 842 deletions
@@ -388,7 +388,7 @@ export abstract class GfxGroupLikeElementModel<
{
private _childIds: string[] = [];
private _mutex = createMutex();
private readonly _mutex = createMutex();
abstract children: Y.Map<any>;
@@ -39,7 +39,7 @@ export function prop<V, T extends GfxLocalElementModel>() {
}
export abstract class GfxLocalElementModel implements GfxCompatibleInterface {
private _mutex: mutex.mutex = mutex.createMutex();
private readonly _mutex: mutex.mutex = mutex.createMutex();
protected _local = new Map<string | symbol, unknown>();