From c6637852646c6722122d5b13a27039eba39473a2 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sat, 7 Aug 2021 23:04:36 +0200 Subject: [PATCH] Satisfy eslint --- ts/editable/editable.ts | 4 ++++ ts/editable/mathjax-component.ts | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/ts/editable/editable.ts b/ts/editable/editable.ts index a5191cb1a..101cd20c5 100644 --- a/ts/editable/editable.ts +++ b/ts/editable/editable.ts @@ -1,6 +1,10 @@ // Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html +/* eslint +@typescript-eslint/no-non-null-assertion: "off", + */ + import type { DecoratedElement } from "./decorated"; import { decoratedComponents } from "./decorated"; import { bridgeCommand } from "lib/bridgecommand"; diff --git a/ts/editable/mathjax-component.ts b/ts/editable/mathjax-component.ts index 80940a816..e0086d660 100644 --- a/ts/editable/mathjax-component.ts +++ b/ts/editable/mathjax-component.ts @@ -1,3 +1,11 @@ +// Copyright: Ankitects Pty Ltd and contributors +// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html + +/* eslint +@typescript-eslint/no-non-null-assertion: "off", +@typescript-eslint/no-explicit-any: "off", + */ + import "mathjax/es5/tex-svg-full"; import type { DecoratedElement, DecoratedElementConstructor } from "./decorated";