Skip to content

Commit d54ec2e

Browse files
:types lint fix
1 parent df3f242 commit d54ec2e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

functions/mod.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* Utilities for working with functions.
66
*
77
* ```ts
8+
* import { pipe } from "@std/functions";
9+
* import { assertEquals } from "@std/assert";
10+
*
811
* const myPipe = pipe(
912
* Math.abs,
1013
* Math.sqrt,
@@ -17,4 +20,4 @@
1720
* @module
1821
*/
1922

20-
export * from "./pipe.ts";
23+
export { pipe } from "./pipe.ts";

functions/pipe.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ type PipeArgs<F extends AnyFunc[], Acc extends AnyFunc[] = []> = F extends [
2424
*
2525
* @example Usage
2626
* ```ts
27+
* import { assertEquals } from "@std/assert";
28+
*
2729
* const myPipe = pipe(
2830
* Math.abs,
2931
* Math.sqrt,

0 commit comments

Comments
 (0)