Angular(typescript) code smell forkjoin

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


TypeScript (Angular) forkjoin deprecated
(Andrea Guarino) #2

Hi @ali,

This doesn’t seem to be a message generated from SonarTS plugin. Probably it’s a message coming from TSLint (see https://palantir.github.io/tslint/rules/deprecation/).

Could you please provide more details in what is blocking you?

Andrea.