4 ms·
IDE support with JS is sometimes so advanced, that just changing the filename to TS makes the support worse, without any code change. This only goes for some s
by domano 6y ago
IDE support with JS is sometimes so advanced, that just changing the filename to TS makes the support worse, without any code change.
This only goes for some special cases and sadly react-redux with rematch is one of them. Typescript can not understand which types are present in my dispatch object, whereas it is possible with JS autocompletion!
Just wanted to bring up this rather curious exception to the rule.
- dragonwriter 6y ago> IDE support with JS is sometimes so advanced, that just changing the filename to TS makes the support worse, without any code change. That’s kind of dumb on the part of the IDE involved.