4 ms·
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
by otras 8y ago
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?
- rodneon 8y agoMainly 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.