Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/internal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ export interface OperatorFunction<T, R> extends UnaryFunction<Observable<T>, Obs

export type FactoryOrValue<T> = T | (() => T);

/**
* A function type interface that describes a function that accepts and returns a parameter of the same type.
*
* Used to describe {@link OperatorFunction} with the only one type: `OperatorFunction<T, T>`.
*
*/
export interface MonoTypeOperatorFunction<T> extends OperatorFunction<T, T> {}

/**
Expand Down