diff --git a/.cspell.json b/.cspell.json
index 1976882978..4a7bc2be12 100644
--- a/.cspell.json
+++ b/.cspell.json
@@ -71,7 +71,8 @@
"eslintcache",
"hono",
"privkey",
- "geomanist"
+ "geomanist",
+ "nodenext"
],
"ignorePaths": [
"CHANGELOG.md",
diff --git a/client-src/index.js b/client-src/index.js
index 8c1ac0baeb..eeee5b717e 100644
--- a/client-src/index.js
+++ b/client-src/index.js
@@ -1,6 +1,4 @@
/* global __resourceQuery, __webpack_hash__ */
-///
-
// @ts-expect-error
import hotEmitter from "webpack/hot/emitter.js";
// @ts-expect-error
@@ -54,10 +52,12 @@ import sendMessage from "./utils/sendMessage.js";
*/
const decodeOverlayOptions = (overlayOptions) => {
if (typeof overlayOptions === "object") {
- for (const property_ of ["warnings", "errors", "runtimeErrors"]) {
+ const requiredOptions = ["warnings", "errors", "runtimeErrors"];
+
+ for (let i = 0; i < requiredOptions.length; i++) {
const property =
/** @type {keyof Omit} */
- (property_);
+ (requiredOptions[i]);
if (typeof overlayOptions[property] === "string") {
const overlayFilterFunctionString = decodeURIComponent(
diff --git a/client-src/overlay.js b/client-src/overlay.js
index 0ba049c13a..81b5f05de4 100644
--- a/client-src/overlay.js
+++ b/client-src/overlay.js
@@ -10,7 +10,8 @@ import ansiHTML from "ansi-html-community";
*/
// @ts-expect-error
const getCodePoint = String.prototype.codePointAt
- ? (input, position) => input.codePointAt(position)
+ ? // @ts-expect-error
+ (input, position) => input.codePointAt(position)
: (input, position) =>
(input.charCodeAt(position) - 0xd800) * 0x400 +
input.charCodeAt(position + 1) -
diff --git a/client-src/progress.js b/client-src/progress.js
index 21db9cf777..984c4773d7 100644
--- a/client-src/progress.js
+++ b/client-src/progress.js
@@ -23,7 +23,6 @@ export function defineProgressElement() {
this.animationTimer = null;
}
- // @ts-expect-error
#reset() {
clearTimeout(this.animationTimer);
this.animationTimer = null;
@@ -44,7 +43,6 @@ export function defineProgressElement() {
this.#update(this.initialProgress);
}
- // @ts-expect-error
static #circularTemplate() {
return `