6 ms·
Looking at "paths", shouldn't those @types (history, redux & react) be picked up automatically, at least as of TypeScript 2.0? Also: "*": [ "./ClientApp/typ
by devrelm 9y ago
Looking at "paths", shouldn't those @types (history, redux & react) be picked up automatically, at least as of TypeScript 2.0?
Also:
"*": [ "./ClientApp/types/*", "*" ]
I like that. I may have to add it to my app and get rid of our typings.d.ts (currently included through "files") once and for all.
- Maarten88 9y agoThey were there to fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions. But you are right: typescript or those dependencies have improved and they are no longer necessary. I removed them and everything still works.