-
Notifications
You must be signed in to change notification settings - Fork 185
chain
function can't infer data type
#339
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
Comments
5 tasks
I already fixed this. |
@rayepps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the
chain
function insrc/curry.ts
file, it has no type inferred for this function.https://github.com/rayepps/radash/blob/c3c9dac9c5da8102a8c62b1afbbb7efb9c64c31e/src/curry.ts#L5-L10
When I use the
chain
function, it returnsany[]
.Actually, I expected the return type should be
Uppercase<string>[]
.So, I have to define the type for the
upperNames
variable.I want the type inferred for the
chain
function, that makes me annoyed a bit. 🥹Anyone can make it able to infer?
The text was updated successfully, but these errors were encountered: