Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

§Interfaces

CompleteNotification

A notification representing a "completion" from an observable. Can be used with {@link dematerialize}.

CompletionObserver
Connectable

An observable with a connect method that is used to create a subscription to an underlying source, connecting it with all consumers via a multicast.

ErrorNotification

A notification representing an "error" from an observable. Can be used with {@link dematerialize}.

ErrorObserver
InteropObservable

An object that implements the Symbol.observable interface.

MonoTypeOperatorFunction
NextNotification

A notification representing a "next" from an observable. Can be used with {@link dematerialize}.

NextObserver
Observer

An object interface that defines a set of callback functions a user can use to get notified of any set of Observable {@link guide/glossary-and-semantics#notification | notification} events.

OperatorFunction
ReadableStreamLike

The base signature RxJS will look for to identify and use a ReadableStream as an ObservableInput source.

SchedulerAction
SchedulerLike
SubjectLike
Subscribable

OBSERVABLE INTERFACES

SubscriptionLike
TimeInterval

A value emitted and the amount of time since the last value was emitted.

Timestamp

A value and the time at which it was emitted.

TimestampProvider

This is a type that provides a method to allow RxJS to create a numeric timestamp

UnaryFunction

A function type interface that describes a function that accepts one parameter T and returns another parameter R.

Unsubscribable

§Type Aliases

Cons

Constructs a new tuple with the specified type at the head. If you declare Cons<A, [B, C]> you will get back [A, B, C].

FactoryOrValue
Falsy

A simple type to represent a gamut of "falsy" values... with a notable exception: NaN is "falsy" however, it is not and cannot be typed via TypeScript. See comments here: https://github.com/microsoft/TypeScript/issues/28682#issuecomment-707142417

Head

Extracts the head of a tuple. If you declare Head<[A, B, C]> you will get back A.

ObservableInput

Valid types that can be converted to observables.

ObservableInputTuple

Used to infer types from arguments to functions like {@link forkJoin}. So that you can have forkJoin([Observable<A>, PromiseLike<B>]): Observable<[A, B]> et al.

ObservableLike deprecated
ObservableNotification

Valid observable notification types.

ObservedValueOf

Extracts the type from an ObservableInput<any>. If you have O extends ObservableInput<any> and you pass in Observable<number>, or Promise<number>, etc, it will type as number.

ObservedValuesFromArray deprecated
ObservedValueTupleFromArray

Extracts a tuple of element types from an ObservableInput<any>[]. If you have O extends ObservableInput<any>[] and you pass in [Observable<string>, Observable<number>] you would get back a type of [string, number].

ObservedValueUnionFromArray

Extracts a union of element types from an ObservableInput<any>[]. If you have O extends ObservableInput<any>[] and you pass in Observable<string>[] or Promise<string>[] you would get back a type of string. If you pass in [Observable<string>, Observable<number>] you would get back a type of string | number.

PartialObserver
SubscribableOrPromise deprecated
Tail

Extracts the tail of a tuple. If you declare Tail<[A, B, C]> you will get back [B, C].

TeardownLogic
TruthyTypesOf
ValueFromArray

Extracts the generic value from an Array type. If you have T extends Array<any>, and pass a string[] to it, ValueFromArray<T> will return the actual type of string.

ValueFromNotification

Gets the value type from an ObservableNotification, if possible.