How to import the newly upgraded angular6 into rxjs?

it"s OK to do this when using angular5. Just upgrade 6, prompting "No export member "Observable"",
angular6 how to import Observable?


The rxjs interface of

6.x has changed, so it should be written as follows:

import { Observable, of } from 'rxjs';
import { catchError, map, tap } from 'rxjs/operators';
Menu