angular-cli项目报Error encountered resolving symbol values statically. Function calls are not supported

安装同事打包的一个模块,报了这么个错,不过在其余地方使用是正常的。node

Error encountered resolving symbol values statically. Function calls are not supported.json

解决的办法spa

在tsconfig.json文件中添加code

{
  ...
  "compilerOptions": {
    ..
    "skipLibCheck": true,
    "noStrictGenericChecks": false,
    "paths": {
      "@angular/*": ["../node_modules/@angular/*"],
     ...
    }
  },
  "exclude": [
    ...
  ]
}
相关文章
相关标签/搜索