From 27f74b3ebd0a72e192e2d9bc7c07de00813b47c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sat, 25 Sep 2021 07:53:38 +0200 Subject: [PATCH] Remove unnecessary type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/usercontent/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usercontent/index.ts b/src/usercontent/index.ts index f143f16720..82e8ee0d81 100644 --- a/src/usercontent/index.ts +++ b/src/usercontent/index.ts @@ -11,7 +11,7 @@ function remoteRender(event: MessageEvent): void { const img = document.createElement("span"); // we'll mask it as an image img.id = "img"; - const a: HTMLAnchorElement = document.createElement("a"); + const a = document.createElement("a"); a.id = "a"; a.rel = "noreferrer noopener"; a.download = data.download;