Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

pipe's DeltaFn arguments must match 100% with the composed function #20

Open
smoliji opened this issue Jan 15, 2019 · 0 comments
Open

Comments

@smoliji
Copy link
Contributor

smoliji commented Jan 15, 2019

DeltaFn arguments must match 100% with the composed function. I'd expect they could all be optional.

Current behaivour:

pipe(
   () => 1,
)(1) // Expected 0 arguments, but got 1

Which means I cannot use constant functions.

Expected behaviour: No TS error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant