News for hackers. Stuff that matters.
Re:Zod 4 by colinmcd on Tuesday May 20, 2025 @03:26AM (#44038742)
Yes! Zod now differentiates between `z.string().optional()` and `z.union([z.string(), z.undefined()])` (as in TypeScript itself). Details: https://x.com/colinhacks/status/1919291504587137496

There are no comments on this comment yet.