From 219557afda157614c034c82251fb95f7c2610da7 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Tue, 7 Sep 2021 11:07:20 +0200 Subject: [PATCH] Satisfy eslint --- ts/lib/dom.ts | 4 ++++ 1 file changed, 4 insertions(+) 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; }