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:
@@ -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}">
|
||||
|
||||
Reference in New Issue
Block a user