News for hackers. Stuff that matters.
Re:Ask HN: Convince me that TypeScript is better than JavaSc... by otras on Monday December 03, 2018 @04:25PM (#18593231)
I usually explain TypeScript to others as helping the next person working with the code, be it me or another developer. I've found that diving in to source code is made easier when it's in TypeScript, and although it may slow down my initial development speed, it improves the ease with which I understand foreign code and get back into my old code (which sometimes may as well be foreign).

> It just so happens that the combination of tools we're using is not too conducive to Typescript code

Maybe the problem is the tools, not the TypeScript. What's the combination of tools that's giving you trouble?

Re:Ask HN: Convince me that TypeScript is better than JavaSc... by rodneon on Tuesday December 04, 2018 @10:13PM (#18605429)
Mainly create-react-app, styled-components, react-styleguidist (which uses react-docgen). I'm okay with writing .d.ts files for my React components, but trying to develop these components in this ecosystem... oof.