Although on compiling error is being shown on the terminal, but no error(red underline) is being shown on the the vs code editor.虽然在终端上显示编译错误,但在 vs 代码编辑器上没有显示错误(红色下划线)。How to resolve this?如何解决这个问题?
1 个解决方案
解决方案1
0 2022-08-11 10:47:40
I managed to fix this by:我设法通过以下方式解决了这个问题:
Going to Settings (on Mac "Code" -> "Preferences" -> "Settings")转到设置(在 Mac 上“代码”->“首选项”->“设置”)
Searching for something like "Typescript validate"搜索“Typescript validate”之类的内容
In the results that appear, making sure that "Enable/disable TypeScript validation" is checked.在出现的结果中,确保选中“启用/禁用 TypeScript 验证”。