I am currently upgrading angular 4 to angular 6 code. I have installed \"rxjs\": \"^6.3.2\" and un-installed rxjs-compact as I have migrated the code to use the new rxjs ope
I am using Angular 10,this method works for me.
npm install --save rxjs-compat
you should import observable this way:-
import { Observable } from 'rxjs/Observable';