I recently updated from Angular 5 to Angular 6.
I'm getting this warning combineLatest is deprecated: resultSelector no longer supported, pipe to map instead
. Rxjs is version 6.1.0, tslint is 5.10.0, Angular CLI is 6.0.0 and Typescript 2.7.2. I'm using it like this:
const a$ = combineLatest(
this.aStore.select(b.getAuth),
this.cStore.select(b.getUrl),
(auth, url) => ({auth, url}),
);
I've tried it also like this:
empty().pipe(
combineLatest(...),
...
)
But this gives me: combineLatest is deprecated: Deprecated in favor of static combineLatest
and empty is also deprecated in favor of its static version.