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

fix: Fix overload of pipe type not being applied in bundled d.ts (#144)

Changed files
+7 -2
.changeset
src
+5
.changeset/cuddly-donuts-play.md
···
+
---
+
'wonka': patch
+
---
+
+
Fix overload of `pipe` type not being applied in bundled `d.ts` file.
+2 -2
src/pipe.ts
···
): R;
}
-
function pipe(...args: Function[]): any {
+
const pipe: pipe = (...args: Function[]): any => {
let x = args[0];
for (let i = 1, l = args.length; i < l; i++) x = args[i](x);
return x;
-
}
+
};
export { pipe };