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