Open
Description
If the argument for a pipe is only referenced in the first step, it can be replaced with a flow
:
(foo) => pipe(
foo,
...
)
and
(foo: FooType) => pipe(
foo.bar,
...
)
can be:
flow(
...
)
and
flow(
(foo: FooType): foo.bar,
...
)
Can be easier to read, and keeps it out of scope for the rest of the pipeline.
Metadata
Metadata
Assignees
Labels
No labels