-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Expose pipe
rest parameter argument type
#852
Comments
Thank you for creating this issue. I will try to investigate in the next few weeks if we can support such a use case. |
Thank you. It's not an important feature to me, it's more of a nice to have. But it would be nice. |
This will be possible 🔜 |
Thank you. |
v1.0.0-beta.4 is available |
TS still complains about it I'm forced to use |
Can you share a playground link? |
Well, I'm unable to replicate, so it could be something with my codebase. If I manage to replicate, I'll share it here. Thank you. |
Okay. Because I have tested different use cases. As long as the array or action output is typed correctly, it should work. Note that it only works if the data type stays the same. Transformations are not allowed because they can't be tracked with TypeScript in this way. |
Yes, it's probably something with my type definitions or because I'm using the return type of the zustand store. |
Discussed in #851
Originally posted by ruiaraujo012 September 26, 2024
I have an array of password validations that came from the BE when the app starts, the array is something like this:
It would be nice if I could iterate over it and return one validation for each, like:
is that possible?
The text was updated successfully, but these errors were encountered: