TypeScript (Angular) forkjoin deprecated

typescript

(alimouha) #1

Hello everybody

in app angular (front-end ) i have this code smell in sonar
‘forkJoin is deprecated: resultSelector is deprecated, pipe to map instead’

import { forkJoin } from ‘rxjs’;
’ return forkJoin(
this.resources.map(config => {…’

Thank you for any help you can provide


(Andrea Guarino) #2

Hi @ali,
Closing this thread as a duplicate (see here).

Andrea