You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
combineLatest can also take an object as key/observable that makes easier to maintain the observable since the order is not important anymore when spreading the values.
So instead of
combineLatest([obs1$,obs2$]).pipe(map(([obs1,obs2])=>{// do something}))
we can do
combineLatest({obs1: obs1$,obs2: obs2$}).pipe(map(({obs2, obs1})=>{// note that the order is backwards, but it is ok here.// do something}))
The problem is that rxjs/finnish will detect obs1: obs1$, and obs2: obs2$ as an error with Finnish notation should be used here.
The text was updated successfully, but these errors were encountered:
Plugin version: 5.0.3
rxjs Version: 7.8.1
combineLatest can also take an object as key/observable that makes easier to maintain the observable since the order is not important anymore when spreading the values.
So instead of
we can do
The problem is that rxjs/finnish will detect
obs1: obs1$,
andobs2: obs2$
as an error withFinnish notation should be used here.
The text was updated successfully, but these errors were encountered: