Improve typing

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-09-25 09:58:01 +02:00
parent 1a2476609c
commit 3450e91e32
No known key found for this signature in database
GPG Key ID: 55C211A1226CB17D
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ function remoteRender(event: MessageEvent): void {
}
hasCalled = true;
const img = document.createElement("span"); // we'll mask it as an image
const img: HTMLSpanElement = document.createElement("span"); // we'll mask it as an image
img.id = "img";
const a = document.createElement("a");
const a: HTMLAnchorElement = document.createElement("a");
a.id = "a";
a.rel = "noreferrer noopener";
a.download = data.download;