Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
colinmcd
· 1y ago · 0 comments
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
Comments
No comments yet.
Better HN