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
- Actually accept other `ObservableInput` types (Promises, etc)
- Fixes issue where TypeScript would complain when you tried to subscribe to a race between to Observable types.
FixesReactiveX#4390FixesReactiveX#4642
- Actually accept other `ObservableInput` types (Promises, etc)
- Fixes issue where TypeScript would complain when you tried to subscribe to a race between to Observable types.
Fixes#4390Fixes#4642
lockbot
locked as resolved and limited conversation to collaborators
Apr 14, 2019
- Actually accept other `ObservableInput` types (Promises, etc)
- Fixes issue where TypeScript would complain when you tried to subscribe to a race between to Observable types.
FixesReactiveX#4390FixesReactiveX#4642
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report
Current Behavior
Subscribing to the result of a
race
of two different types of observables results in a type error.Reproduction
stackblitz
Expected behavior
It shouldn't error.
Environment
Possible Solution
Fix the types to not be
Observable<string> | Observable<number>
and beObservable<string | number>
The text was updated successfully, but these errors were encountered: