refactor: migrate to props and runes

this was done using sv migrate and a bit of ai to fully migrate
This commit is contained in:
2026-04-24 01:12:33 -04:00
parent 2864c81f83
commit 9064aecedb
17 changed files with 463 additions and 326 deletions
+2 -1
View File
@@ -69,7 +69,8 @@ function parseBooleanClaim(value: unknown) {
}
function parseNumberClaim(value: unknown): number | null {
const numeric = typeof value === 'number' ? value : typeof value === 'string' ? parseInt(value, 10) : NaN;
const numeric =
typeof value === 'number' ? value : typeof value === 'string' ? parseInt(value, 10) : NaN;
return Number.isFinite(numeric) ? numeric : null;
}