TS2339: Property 'switchMap' does not exist on type 'CustomerDocument[]'. code example Example: Cannot find name 'switchMap' import { switchMap } from 'rxjs/operators';