@Component 突然无法识别指令

Directives SUDDENLY not recognized in @Component

由于某种原因,无法识别 @component 元数据的 directives 属性,红色下划线..

导致无法加载我的组件,浏览器的控制台尖叫:

'account-transactions' is not a known element:

非常感谢任何帮助,似乎无法弄清楚发生了什么。

提前致谢。

我假设你更新到 RC.6

directivespipes 已在 RC.5 中弃用并在 RC.6 中删除

@NgModule()

中使用 declarations