angular - Angular 语言服务不检查 html 错误
问题描述
我在我的 vs 代码上安装了 Angular 语言服务。问题是它给了我建议但不检查 html 错误。
app.component.html
<button (click)="onS()">{{timeLeft}}</button>
但是,在app.component.ts中,我没有onS()
仍然在 html 文件中的方法,它不会显示错误。任何人都可以帮助我,或者是否可以为此建议任何其他 vs 代码扩展。
解决方案
推荐阅读
- r - 使用粘贴折叠多个向量
- google-bigquery - BigQuery:在重复记录中转换重复记录
- r - 使用 R simmer 包的离散事件模拟 (DES)
- docker - 在一个容器中运行多个类似的进程是否有意义?
- eclipse - 尝试使用 Buckminster 更新 p2 站点时出错
- airflow - 气流跳过任务的最佳方式?
- c++ - C++访问冲突读取位置0xCCCCCCBC
- java - 我试图描述这个 java 打印语句“ (((0xFF << (i * 8)) & test)))) ”是什么意思
- vhdl - VHDL:Testbench 中的组件不提供输出
- python - sklearn train_test_split 在 3 维数组列表上