4 ms·
TS can be a pain. I know, I fight with it all the time. That’s probably my fault though. I’ve learned typescript by being exposed to it in our code base, rather
by sircastor 4y ago
TS can be a pain. I know, I fight with it all the time. That’s probably my fault though. I’ve learned typescript by being exposed to it in our code base, rather than properly learning it through documentation.
For all the struggle, it makes me feel very confident about the code, and its reliability. That’s worth a lot.
- quickthrower2 4y agoThere seems to be a lot of bespoke choices when setting up TS which have to be weighed up. For example: tsc? webpack+plugin? eslint? And then all those compilerflags. Especially module targets. Then monorepo considerations: lots of options. Then how to generate your .d.ts files if it is a package you will publish.