Answers for "property 'map' does not exist on type 'object'"

0

Property 'map' does not exist on type 'Observable<Object>'.ts(2339)

const request = this.evidenceService.get().pipe(
    map((res) => res.data)),
    catchError(error => Observable.of(null))
  );
Posted by: Guest on February-05-2021
0

property 'map' does not exist on type 'object'

if (myStructure instanceof Array) {
    myStructure.map((val, idx, []) => { });
}
Posted by: Guest on October-10-2020

Code answers related to "property 'map' does not exist on type 'object'"

Browse Popular Code Answers by Language