it"s OK to do this when using angular5. Just upgrade 6, prompting "No export member "Observable"",
angular6 how to import Observable?
it"s OK to do this when using angular5. Just upgrade 6, prompting "No export member "Observable"",
angular6 how to import Observable?
6.x has changed, so it should be written as follows:
import { Observable, of } from 'rxjs';
import { catchError, map, tap } from 'rxjs/operators';
Previous: How does redis search for field values?