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

Does TS have syntax sugar for returning errors, as rust has? If not, I don't see what's interesting about your form.


Sorry for the late reply. It does not. My point was mostly that the TypeScript analogs are either more of a pain or less type safe.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: