The code I currently have is showing as deprecated. I am in need of assistance to update it, particularly the map section.
There is an issue with the map part that needs attention.
/** @deprecated Use a closure instead of a thisArg
. Signatures accepting a thisArg
will be removed in v8. */
public getDetails(): any
{
return this.apiService.findForm().pipe(map((response: any) => {
return response;
},
err => {
return err;
}
));
}
I would greatly appreciate any help or guidance on resolving this matter. Thank you.