TypeScript 类型定义 IntelliSense 错误

Kak*_*one 6 visual-studio typescript

在 Visual Studio 2022 中,我在错误列表窗口中出现很多有关 node_modules 文件夹类型定义的 IntelliSense 错误。
在我的 tsconfig.json 文件中,我排除了 node_modules 文件夹:"exclude": ["node_modules"]
在我的 csproj 中,我添加了行<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>.
但没有任何作用,我没有成功消除这些错误。

在此输入图像描述

Kak*_*one 0

该问题已在 Visual Studio 2022 17.3 中修复。