Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow

Add missing type for pipe airty-2 consumer

Changed files
+5
src
+5
src/pipe.d.ts
···
/* pipe definitions for source + operators + consumer composition */
+
export function pipe<T, R>(
+
source: Source<T>,
+
consumer: UnaryFn<Source<T>, R>
+
): R;
+
export function pipe<T, A, R>(
source: Source<T>,
op1: UnaryFn<Source<T>, Source<A>>,