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)

authored by kitten.sh and committed by GitHub 879b2ab2 8fe062dc

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