'How can I model a Observable who emits three values one of type A, the second one type B and the last one type C?
I love typing and I have a situations in which an observable emits always 3 values. The first one is type A, the middle one is type B, and the third one is type C.
The only way to model is
type Result = Observable<A | B | C> ?
is there a more concise way?
Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
