WebStorm Angular 13 异步管道:缺少 require() 语句

WebStorm Angular 13 async pipe: Missing require() statement

更新到 Angular 13 后,在我的 WebStorm 中,异步管道变成红色并显示消息

Missing require() statement

此外,所有指令都带有警告,例如

No directive is matched on attribute ngIf

我再次安装了 https://plugins.jetbrains.com/plugin/6971-angular-and-angularjs,重新启动了 WebStorm,但没有任何反应。我有 WebStorm 2021.2.3

请注意编译工作正常,项目工作正常,我只是收到这些错误和警告。

回到我的预更新 (Angular 12) 和 运行 npm i 红色和警告 消失

有什么建议吗?

嗯...好像还不支持Angular13

https://youtrack.jetbrains.com/issue/WEB-53312?_ga=2.96724378.402765000.1636963958-943143576.1632898581

我已经安装了测试版 https://www.jetbrains.com/webstorm/nextversion/(Build #WS-213.5744.37,构建于 2021 年 11 月 11 日),现在运行良好。所以,我们需要等待下一个版本。