mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 17:16:16 +08:00
chore: fix eslint in blocksuite (#9232)
This commit is contained in:
@@ -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>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user