-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(type): add missing return type for useFormik #3092
base: main
Are you sure you want to change the base?
Conversation
|
@meeroslav is attempting to deploy a commit to the Formium Team on Vercel. A member of the Team first needs to authorize it. |
This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 60 days |
This will land in v3 #3089 |
This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 60 days |
This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 60 days |
Actual:
useFormik
has no defined return type, forcing the developer to guess the correct type in order to use the response object as a parameterExpected:
useFormik
returns typeFormikProps<Value>
Note:
To make the return type complete, two properties -
isInitialValid
andenableReinitialize
were added.