NgRX effects - Type 'Observable' is not assignable to type 'Observable'

前端 未结 9 1090
你的背包
你的背包 2020-12-16 10:12

While working with NgRX 8 my colleagues and me are frequently facing a weird error message when implementing the effects.

Type \'Observable

9条回答
  •  攒了一身酷
    2020-12-16 10:39

    I struggled with this issue for a while only to find out at the end that VS code automatically imported Observable from some library instead of rxjs

    Hope this saves someone unnecessary head banging.

提交回复
热议问题