Type Alias: UnwrapSourceValueStrict<T>
UnwrapSourceValueStrict<
T> =TextendsObservable<infer V> ?Textendsobject?V:V|undefined:Textends readonlyunknown[] ?{ -readonly [K in keyof T]: UnwrapSourceValueStrict<T[K]> }:T
Defined in: packages/rx/src/types.ts:56
Recursively extracts the emitted value type from an Observable or an array of Observables, similar to UnwrapSourceValue.
However, if the Observable does not have a .value property (i.e., it is not a BehaviorSubject), the resulting type is unioned with undefined to reflect that an initial value may not be immediately available.
Type Parameters
T
T
The input type to unwrap.