Skip to content

Commit 0fe6b2f

Browse files
docs: add MonoTypeOperatorFunction documentation (#7284)
* docs: add MonoTypeOperatorFunction documentation * docs: update MonoTypeOperatorFunction documentation Co-authored-by: Mladen Jakovljević <[email protected]> --------- Co-authored-by: Mladen Jakovljević <[email protected]>
1 parent 870ab4d commit 0fe6b2f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/internal/types.ts

+6
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ export interface OperatorFunction<T, R> extends UnaryFunction<Observable<T>, Obs
3131

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

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

3642
/**

0 commit comments

Comments
 (0)