Repository navigation
form.Field validator no longer infers the correct TS type? #1071
|
Recently updated to the latest version of Example: The TS errors can even be seen in the provided simple example: https://tanstack.com/form/latest/docs/framework/react/examples/simple Am I missing something? |
Answered by
Balastrong
Dec 13, 2024
Replies: 2 comments 1 reply
|
You're right, to cover an edge case I missed in 0.40 it broke the types in 0.41, I apologize. You can downgrade to 0.40 for now as types should be fine there, while I'll try to fix that (and understand why type tests are still passing) |
0 replies
Answer selected by
jose-biescas
|
No worries, thank you very much for the quick response! |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're right, to cover an edge case I missed in 0.40 it broke the types in 0.41, I apologize.
You can downgrade to 0.40 for now as types should be fine there, while I'll try to fix that (and understand why type tests are still passing)