ova*_*gle 7 webstorm typescript
当尝试在webstorm中编译打字稿文件时,我受到源自文件node_modules
夹中文件的编译错误的轰炸.
我的.tsconfig看起来像
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noImplicitAny": true,
"sourceMap": true
},
"exclude": [
"node_modules"
]
}
Run Code Online (Sandbox Code Playgroud)
我已经'使用.tsconfig.json'签入了preferences > typescript
.
我得到的错误来自'reflect-metadata/Reflect'包
TS2304: Cannot find name 'msCrypto'
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
956 次 |
最近记录: |