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

Just don't worry about typing every single piece of code in your application. Some patterns are just plain difficult/impossible to type properly. Don't try to re-architect pieces of code to type-check fully (I did that for a while, definitely a waste of time).

The low-hanging fruit of automatically inferred typed alone is great. Even adding `//@ts-check` to JavaScript code has proved helpful.



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

Search: