Runtime Type Checking with Zod
This is runtime type checking, no? TS is compile time only. If you need something like this in JS/TS, I'd reach for Zod: colinhacks/zod TypeScript-first schema validation with static type inference 302 Contributors 1m Used by 906 Discussions 33k Stars 1k Forks From zod.dev thanks I'll check it out
A dark-mode social media screenshot shows a developer recommending Zod for runtime schema validation in JavaScript and TypeScript. The joke contrasts TypeScript's compile-time type checking with Zod's runtime validation, followed by a reply saying they will check it out.
- @gentoomemes / 13429 2024-09-19
- @dev_meme / 6253 2024-09-21
- Type
- image
- Size
- 621×573 · 40.1 KiB
- Mood
- technical, ironic
- Language
- en
- Added