diff --git a/ts/lib/dom.ts b/ts/lib/dom.ts index 3b75a81ee..a3e6a0c95 100644 --- a/ts/lib/dom.ts +++ b/ts/lib/dom.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", + */ + export function nodeIsElement(node: Node): node is Element { return node.nodeType === Node.ELEMENT_NODE; }