style(ui): request that all types defined

- check in more restrictive mode = request types
- define main types in static/js/core/types.js
This commit is contained in:
Edouard Vanbelle
2026-04-30 02:02:27 +02:00
parent 97ea87efc2
commit 3050556dc0
29 changed files with 560 additions and 345 deletions
@@ -3,7 +3,7 @@ import { getCsrfHeaders } from '../../core/csrf.js';
(() => {
var API_BASE = window.location.origin;
var codeInput = document.getElementById('user-code');
var codeInput = /** @type {HTMLInputElement} */ (document.getElementById('user-code'));
var deviceInfo = document.getElementById('device-info');
var actionButtons = document.getElementById('action-buttons');
var errorText = document.getElementById('error-text');