diff --git a/async/mod.ts b/async/mod.ts index d8f5df1..dc62e19 100644 --- a/async/mod.ts +++ b/async/mod.ts @@ -4,7 +4,7 @@ export type AsyncOperator = (v: A) => B | Promise; /** - * Get the return type of the last operator in a list of operators. + * @internal */ type LastAsyncOperatorReturn< T extends AsyncOperator[], diff --git a/mod.ts b/mod.ts index 2d116f5..0e0c09c 100644 --- a/mod.ts +++ b/mod.ts @@ -4,11 +4,11 @@ export type Operator = (v: A) => B; /** - * Get the return type of the last operator in a list of operators. + * @internal */ -export type LastOperatorReturn[]> = - T extends [...Operator[], Operator] ? R - : never; +type LastOperatorReturn[]> = T extends + [...Operator[], Operator] ? R + : never; /** * Pipes a value through a series of operator functions.