1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Add TSLint to github actions, fix existing type errors

This commit is contained in:
Bjorn Stromberg
2020-07-22 11:15:16 +09:00
parent 79e7fb31b9
commit cb1ff53338
13 changed files with 38 additions and 72 deletions

View File

@@ -102,7 +102,10 @@ export class AdinplayAdProvider extends AdProviderInterface {
// Add the player
const videoElement = this.adContainerMainElement.querySelector(".videoInner");
this.adContainerMainElement.querySelector(".adInner").style.maxWidth = w + "px";
/** @type {HTMLElement} */
const adInnerElement = this.adContainerMainElement.querySelector(".adInner");
adInnerElement.style.maxWidth = w + "px";
const self = this;
window.aiptag.cmd.player.push(function () {