When trying to compile typescript files in webstorm, I am bombarded with compilation errors that originate from files in the node_modules
folder.
My .tsconfig looks like
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noImplicitAny": true,
"sourceMap": true
},
"exclude": [
"node_modules"
]
}
and I have 'use .tsconfig.json' checked in preferences > typescript
.
The errors I'm getting are from the 'reflect-metadata/Reflect' package
TS2304: Cannot find name 'msCrypto'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With