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
Possibly wrong submit typescript type #368
Comments
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?
Currently we have the following FormApi type:
What is the expected behavior?
In documentation it is stated that it should return some arbitrary object
And in react-final-form docs it is stated that submit callback (its promise returning variant):
I believe that submit callback is not constrained by returning the result of type
FormValues | undefined
.Should not it be typed like this?
The text was updated successfully, but these errors were encountered: