我添加了一个带有管道 ( RemoveUnderscorePipe
) 的新共享库。我正在使用库一个角度应用程序。使用该库的应用程序可以编译并且运行良好。问题是在 vs-code 中使用管道的所有模板中都存在错误:
这使开发人员的体验变得不那么愉快,并且对管道名称进行定义也不起作用。
我发现了一个类似的问题: Unable to resolve signature for pipe invocation in vscode by Angular Language Service 并且尝试了建议的解决方案但没有成功。
如何让 vscode 识别库。谢谢。