【发布时间】:2019-01-30 02:40:45
【问题描述】:
我正在使用 ngrx 在我的 ionic 3.9.2 应用程序中实现应用程序状态(使用本教程作为指导:https://gonehybrid.com/a-beginners-guide-to-using-ngrx-in-an-ionic-2-app-part-1/)
当我尝试运行应用程序时,我目前收到此错误:
typescript: ...foo/bar/node_modules/@ngrx/effects/src/on_run_effects.d.ts, line: 9
A computed property name in a type literal must directly refer to a built-in symbol.
错误与以下代码块有关:
export declare function isOnRunEffects(sourceInstance: {
[onRunEffectsKey]?: onRunEffectsFn;
}): sourceInstance is OnRunEffects;
我正在使用 ngrx 效果器 6.1.0 版。
感谢任何和所有的帮助,因为我承认对此感到很困惑。谢谢。
编辑
我使用的是打字稿版本 3.0.1
【问题讨论】:
标签: angular typescript ionic-framework ngrx ngrx-effects