From 5c3fb3347376eaa079655fc70f6d39fbbd7ca180 Mon Sep 17 00:00:00 2001 From: "A. Rahman" <81337924+arahm730@users.noreply.github.com> Date: Mon, 19 Jun 2023 05:12:30 -0400 Subject: [PATCH] docs: add MonoTypeOperatorFunction documentation (#7284) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: add MonoTypeOperatorFunction documentation * docs: update MonoTypeOperatorFunction documentation Co-authored-by: Mladen Jakovljević --------- Co-authored-by: Mladen Jakovljević (cherry picked from commit 0fe6b2fad2446dffdfde72bd575946d74cc5f9a7) --- src/internal/types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/internal/types.ts b/src/internal/types.ts index a28e96a28c..b72eab3a11 100644 --- a/src/internal/types.ts +++ b/src/internal/types.ts @@ -31,6 +31,12 @@ export interface OperatorFunction extends UnaryFunction, Obs export type FactoryOrValue = 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`. + * + */ export interface MonoTypeOperatorFunction extends OperatorFunction {} /**