Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spencerchubb
on Oct 9, 2024
|
parent
|
context
|
favorite
| on:
Zod: TypeScript-first schema validation with stati...
Couldn't this be improved by showing a diff between the mismatched types?
dhruvrajvanshi
on Oct 9, 2024
[–]
Yes, I did mention that the UX of the type errors could be improved and probably should, but once you start getting into conditional types, and nested types (which may not be fully expanded when you see the error), it gets hairy.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: