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

Try Flow, if you haven't yet. It's not as complete as TS, but it gets out of your way and requires minimal investment. I find that the `(foo: string, bar: number)` annotation style is just far more readable than e.g. JSDoc. You don't even really need to be running Flow (babel will strip them), but it's practically free - why not.


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

Search: