I can't update my store as before (update rxjs to v.6 & angularfire to v.5)


I got a lot of problems since I upgraded my rxjs & firebase to their latest version (6 & 5).



Problem #1.



My store didn't work anymore cause of the breaking change, distinctUntilChanged() is now red underline and said: "Argument of type 'MonoTypeOperatorFunction' is not attribuable on parameter of type 'UnaryFunction, Observable>'".



Problem #2.



I can not set my store with new data with the tap operator (previously do)



My store look like



Edit:



Thanks to @RonY_Patel.
It's currently work with the command



and



I got red underline on my .do but the app it working and doing what I want it to do !



npm install rxjs-compat@6 --save



Try this.
It will work.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

佛陀 (漫畫)

金賢洙

白葡萄酒