WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 44038742

(no title)

colinmcd | 9 months ago

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

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com