-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Typescript error on validation #97
Comments
Or maybe...
? |
Ah, yes. |
Hi, any progress on this? |
Merged
any progress on this? |
Published fix in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
It's just error on typescripts.
and my validation is
What is the expected behavior?
I think on definition
UseFieldArrayConfig
interface here, it should be assigned validate method asvalidate?: FieldValidator<FieldValue[]>
.Otherwise it's defined withFieldValidator<FieldValue>
and it occurs above type mismatch.What's your environment?
Other information
If this change is ok, I can create PR for this.
The text was updated successfully, but these errors were encountered: