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
Basically, if we get an any to either one of these, we have no way of knowing if we're getting back an array or an object, so we need to return unknown.
The text was updated successfully, but these errors were encountered:
benlesh
added a commit
to benlesh/rxjs
that referenced
this issue
Apr 14, 2021
…6227)
* fix: forkJoin/combineLatest return Observable<unknown> if passed any
Resolves#6226
* chore: make shenanigans readonly
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
* chore: Ensure there is no way the arg should work
If the user passed that exact shape of object in AnyCatcher, technically it should work. This ensures there's no way it would work properly so `Observable<unknown>` is accurate.
Also adds some documentation to the areas
* refactor: Move any catcher signatures up
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Basically, if we get an
any
to either one of these, we have no way of knowing if we're getting back an array or an object, so we need to returnunknown
.The text was updated successfully, but these errors were encountered: