正在运行命令
ng build --prod
我出错了
ERROR in
src\app\protected\property\evaluation\evaluation.component.html(188,37): : Property 'symbol' does not
exist on type 'EvaluationComponent'.
src\app\protected\property\evaluation\evaluation.component.html(188,37): : Property 'symbol' does not exist on
type 'EvaluationComponent'.
我想忽略该文件,并尝试在tsrc / tsconfig.json和tsconfig.json中添加ts和html,但是在运行命令时仍然出现错误
有人可以建议我在运行命令时忽略该文件,而不检查该文件中的错误吗?
app / tsconfig.json
"exclude": [
"src/test.ts",
"**/*.spec.ts",
"src/app/protected/property/evaluation/evaluation.component.ts",
"src/app/protected/property/evaluation/evaluation.component.html"
]