3 ms·
> If you're fighting typescript that much, then what's the point? Agreed - I find these "wrangling" situations to be uncommon, and roughly half of the time the
by digging 3y ago
> If you're fighting typescript that much, then what's the point?
Agreed - I find these "wrangling" situations to be uncommon, and roughly half of the time they happen because our code is bad and we need to change it. The other half - well, sure, it can be a pain in the ass, but there's no such thing as code so elegant that it never has some irritating high-effort corner cases. I'll take deterministic type wrangling over raw untyped JS.
- Gigachad 3y agoEvery time I’ve had to “wrangle typescript” it’s been converting old JS files where someone has done something that neither me nor typescript can work out what is going on.