Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "src/interfaces"

Index

Type aliases

OptionValue

OptionValue<S, V>: S extends typeof BehaviorSubject ? V : S extends typeof ReplaySubject ? number : undefined

Utility type to determine which option type to support based on SupportedSubjectTypes

Type parameters

SubjectType

SubjectType<S, V>: S extends typeof BehaviorSubject ? BehaviorSubject<V> : S extends typeof ReplaySubject ? ReplaySubject<V> : Subject<V>

Utility type to determine the correct subject type to return based on SupportedSubjectTypes

Type parameters

SupportedKeyTypes

SupportedKeyTypes: string | number | boolean

Supported key types for maps

SupportedSubjectTypes

SupportedSubjectTypes: typeof BehaviorSubject | typeof ReplaySubject | typeof Subject

Supported Subject types for maps

Generated using TypeDoc