diff --git a/ts/editor/toolbar.ts b/ts/editor/toolbar.ts index 322304f8b..4ad858d41 100644 --- a/ts/editor/toolbar.ts +++ b/ts/editor/toolbar.ts @@ -3,6 +3,7 @@ /* eslint @typescript-eslint/no-non-null-assertion: "off", +@typescript-eslint/no-explicit-any: "off", */ import { disabledKey, nightModeKey } from "components/contextKeys"; @@ -31,7 +32,7 @@ export function initToolbar(i18n: Promise): Promise { document.documentElement.classList.contains("night-mode") ); - toolbarResolve(new EditorToolbar({ target, anchor, context })); + toolbarResolve(new EditorToolbar({ target, anchor, context } as any)); }); });