Capítulo 5 de 29
TanStack Form requires strict: true and TypeScript 5.4+, and treats its own type layer as exempt from semver — meaning type behavior can change on a patch release, so pinning an exact version matters more than usual.
"strict": true is required in tsconfig.json for the inference guarantees (ch003, ch028's DeepKeys) to hold."@tanstack/react-form": "1.0.5", no ^/~) instead of a range, so a CI machine and a teammate's machine can't silently diverge on inferred types.| Requirement | Value |
|---|---|
tsconfig.json | "strict": true |
| Minimum TypeScript | 5.4 |
| Recommended version pin | exact (no ^/~) on the framework package |
strict got disabled somewhere (a shared base tsconfig is a common culprit) before filing a bug.^/~ ranges on the TanStack Form package in a team repo — an unpinned patch bump can change inferred types under someone's feet.DeepKeys/DeepValue, the inference primitives this depends on.