I integrated bluetooth component and battery level service into my angular project. When I run ng serve --open, I get below errors. Could you please give some comments for the root causes?
ERROR in src/app/bluetooth.service.ts(24,37): error TS2339: Property 'map' does not exist on type 'Observable'.
src/app/bluetooth.service.ts(43,10): error TS2339: Property 'mergeMap' does not exist on type 'Observable<void | BluetoothRemoteGATTServer>'.
I integrated bluetooth component and battery level service into my angular project. When I run ng serve --open, I get below errors. Could you please give some comments for the root causes?
ERROR in src/app/bluetooth.service.ts(24,37): error TS2339: Property 'map' does not exist on type 'Observable'.
src/app/bluetooth.service.ts(43,10): error TS2339: Property 'mergeMap' does not exist on type 'Observable<void | BluetoothRemoteGATTServer>'.