Hacker News new | ask | show | jobs
by moonchild 2014 days ago
Does TS have syntax sugar for returning errors, as rust has? If not, I don't see what's interesting about your form.
1 comments

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.