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

research: pipe and compose #87

Open
singla-shivam opened this issue Jul 13, 2022 · 0 comments
Open

research: pipe and compose #87

singla-shivam opened this issue Jul 13, 2022 · 0 comments
Labels
research-types Research to check we have accomplish the required with the type system types Refine/fix types

Comments

@singla-shivam
Copy link
Member

Which function does need to have its types refine/fix?

pipe and compose

What is the problem you faced with current types?

pipe and compose returns which take unknown arguments and returns unknown. The developer needs to type assert the returned function always to correctly use it.

Expected behavior

Need to do some research such that pipe and compose returns the function such they are able to better infer types and return inferred function type properly

Versions (please complete the following information):

  • Fae: 1.x.x
@singla-shivam singla-shivam added types Refine/fix types research-types Research to check we have accomplish the required with the type system labels Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research-types Research to check we have accomplish the required with the type system types Refine/fix types
Projects
None yet
Development

No branches or pull requests

1 participant