how to trate a property of an object inside a pipe in angular code example
Example: observable pipe change one property
getPerons(): Observable<Person> {
this.http.get('url').pipe(map(response => ({...response, age: response.age + 2})));
}
getPerons(): Observable<Person> {
this.http.get('url').pipe(map(response => ({...response, age: response.age + 2})));
}