I am upgrading my app to Angular 6. I am upgrading from Angular 4, but the code below is causing errors in Angular 6, where it worked fine
import 'rxjs/add/operator/catch';
Or import Observable this way:
import {Observable} from 'rxjs';