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

@@ -40,7 +40,7 @@ export class BaseSetting {
/**
* @param {Application} app
* @param {Element} element
* @param {HTMLElement} element
* @param {any} dialogs
*/
bind(app, element, dialogs) {
@@ -188,7 +188,7 @@ export class BoolSetting extends BaseSetting {
return `
<div class="setting cardbox ${this.enabled ? "enabled" : "disabled"}">
${this.enabled ? "" : `<span class="standaloneOnlyHint">${T.demo.settingNotAvailable}</span>`}
<div class="row">
<label>${T.settings.labels[this.id].title}</label>
<div class="value checkbox checked" data-setting="${this.id}">