Commit 20139fc
fix: remove
The `as const` assertion caused useState to infer literal types (e.g. "0" instead of string),
preventing assignment of e.target.value (string) in onChange handlers.
Adds vitest and test coverage for defaults configuration.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>as const from defaults.ts to fix TypeScript literal type errors1 parent 6a14091 commit 20139fc
5 files changed
Lines changed: 1523 additions & 16 deletions
0 commit comments