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
@@ -15,11 +15,11 @@ import {
export class ViewManager extends GfxExtension {
static override key = 'viewManager';
private _disposable = new DisposableGroup();
private readonly _disposable = new DisposableGroup();
private _viewCtorMap = new Map<string, typeof GfxElementModelView>();
private readonly _viewCtorMap = new Map<string, typeof GfxElementModelView>();
private _viewMap = new Map<string, GfxElementModelView>();
private readonly _viewMap = new Map<string, GfxElementModelView>();
constructor(gfx: GfxController) {
super(gfx);
@@ -40,7 +40,10 @@ export class GfxElementModelView<
{
static type: string;
private _handlers = new Map<keyof EventsHandlerMap, ((evt: any) => void)[]>();
private readonly _handlers = new Map<
keyof EventsHandlerMap,
((evt: any) => void)[]
>();
private _isConnected = true;