Skip to content

Commit 20139fc

Browse files
T3pp31claude
andcommitted
fix: remove as const from defaults.ts to fix TypeScript literal type errors
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>
1 parent 6a14091 commit 20139fc

5 files changed

Lines changed: 1523 additions & 16 deletions

File tree

0 commit comments

Comments
 (0)