Property 'and' does not exist on type '(id: any) => Observable<any[]>' code example Example: Property 'of' does not exist on type 'typeof Observable'. import { of } from 'rxjs';