Open vitaliyhayda opened 5 years ago
also work in v3.2.4 if you add
"types": [
"node"
],
in tsconfig compilerOptions
I ran into this as well and especially for slightly larger projects it means a whole lot of additional configuration if you depend on more than just the "node" typings. In my opinion this is a major regression compared to v3.2.3 and it should be reverted or at least the build tools should scan and inject the packages in node_modules/@types
automatically without any user intervention, especially since this breaks the default behaviour of the typescript compiler (default behaviour is to include all of node_modules/@types
automatically without any user intervention).
The full issue described here, for v3.2.4: https://forum.ionicframework.com/t/cannot-find-type-definition-file-for-types/164794
Rolling back to v3.2.3 works