Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Couldn't this be improved by showing a diff between the mismatched types?


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: