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):
Which function does need to have its types refine/fix?
pipeandcomposeWhat is the problem you faced with current types?
pipeandcomposereturns which takeunknownarguments and returnsunknown. The developer needs to type assert the returned function always to correctly use it.Expected behavior
Need to do some research such that
pipeandcomposereturns the function such they are able to better infer types and return inferred function type properlyVersions (please complete the following information):