switchmap does not exist on type observable code example Example: Cannot find name 'switchMap' import { switchMap } from 'rxjs/operators';