File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44export type AsyncOperator < A , B > = ( v : A ) => B | Promise < B > ;
55
66/**
7- * Get the return type of the last operator in a list of operators.
7+ * @internal
88 */
99type LastAsyncOperatorReturn <
1010 T extends AsyncOperator < unknown , unknown > [ ] ,
Original file line number Diff line number Diff line change 44export type Operator < A , B > = ( v : A ) => B ;
55
66/**
7- * Get the return type of the last operator in a list of operators.
7+ * @internal
88 */
9- export type LastOperatorReturn < T extends Operator < unknown , unknown > [ ] > =
10- T extends [ ...Operator < unknown , unknown > [ ] , Operator < unknown , infer R > ] ? R
11- : never ;
9+ type LastOperatorReturn < T extends Operator < unknown , unknown > [ ] > = T extends
10+ [ ...Operator < unknown , unknown > [ ] , Operator < unknown , infer R > ] ? R
11+ : never ;
1212
1313/**
1414 * Pipes a value through a series of operator functions.
You can’t perform that action at this time.
0 commit comments