Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps & improved juxt function type inference #183

Merged
merged 3 commits into from
Jan 3, 2023
Merged

Conversation

shine1594
Copy link
Collaborator

@shine1594 shine1594 commented Dec 30, 2022

An error occurred before, but it is not an error after fixing it

const res = juxt([
  (arg: { a: number, b: number }) => arg.a + arg.b,
  (arg: { b: number, c: string }) => `${arg.b} ${arg.c}`
])({ a: 1, b: 2, c: "3" })

Copy link
Member

@ppeeou ppeeou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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

Successfully merging this pull request may close these issues.

2 participants