+5
.changeset/cuddly-donuts-play.md
+5
.changeset/cuddly-donuts-play.md
+2
-2
src/pipe.ts
+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 };