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
@@ -83,15 +83,15 @@ export const eventTarget = Symbol('eventTarget');
export class ToolController extends GfxExtension {
static override key = 'ToolController';
private _builtInHookSlot = new Slot<BuiltInSlotContext>();
private readonly _builtInHookSlot = new Slot<BuiltInSlotContext>();
private _disposableGroup = new DisposableGroup();
private readonly _disposableGroup = new DisposableGroup();
private _toolOption$ = new Signal<GfxToolsFullOptionValue>(
private readonly _toolOption$ = new Signal<GfxToolsFullOptionValue>(
{} as GfxToolsFullOptionValue
);
private _tools = new Map<string, BaseTool>();
private readonly _tools = new Map<string, BaseTool>();
readonly currentToolName$ = new Signal<keyof GfxToolsMap>();