Runtime validation and static types don't have to be separate concerns. Zod lets you define both in one place, eliminating the drift between what your API accepts and what TypeScript thinks it accepts.
How runtime validation and static types can coexist without duplication.
Runtime validation and static types don't have to be separate concerns. Zod lets you define both in one place, eliminating the drift between what your API accepts and what TypeScript thinks it accepts.
Related posts
Stay in the loop
New posts on engineering, architecture, and what I'm building.