fix (tsc): tsc check error

This commit is contained in:
MickaelK
2026-10-14 04:47:12 +11:00
parent 4808f31d1c
commit 166a563965
+1 -1
View File
@@ -145,7 +145,7 @@ export function $renderInput(options = {}) {
/>
`);
if (!($input instanceof HTMLInputElement)) throw new ApplicationError("INTERNAL_ERROR", "assumption failed: missing input");
else if (typeof value === "number") $input.value = value;
else if (typeof value === "number") $input.value = String(value);
attrs.map((setAttribute) => setAttribute($input));
return $input;
}