Type aliases
OptionValue
OptionValue<S, V>: S extends typeof BehaviorSubject ? V : S extends typeof ReplaySubject ? number : undefined
Type parameters
SubjectType
SubjectType<S, V>: S extends typeof BehaviorSubject ? BehaviorSubject<V> : S extends typeof ReplaySubject ? ReplaySubject<V> : Subject<V>
Type parameters
SupportedKeyTypes
SupportedKeyTypes: string | number | boolean
SupportedSubjectTypes
SupportedSubjectTypes: typeof BehaviorSubject | typeof ReplaySubject | typeof Subject
Utility type to determine which option type to support based on SupportedSubjectTypes