Hacker News new | ask | show | jobs
by _fat_santa 1154 days ago
Having used TS in production with web and mobile (React Native) apps, most of it is rather simple interfaces to make sure you are passing data correctly. I'd say 99.9% of TS code I saw was to make sure that you passed SuperComplexBusinessObject correctly.

But like you, I've come across many instances where I got "hey TS aren't you supposed throw an error here?"