mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
fix (tsc): tsc check error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user