Remove unnecessary type

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-09-25 07:53:38 +02:00
parent bffebb9304
commit 27f74b3ebd
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D

View file

@ -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;