Skip to content
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

Typings for meta.error #78

Closed
xiavn opened this issue May 20, 2019 · 2 comments · Fixed by #130
Closed

Typings for meta.error #78

xiavn opened this issue May 20, 2019 · 2 comments · Fixed by #130

Comments

@xiavn
Copy link

xiavn commented May 20, 2019

Are you submitting a bug report or a feature request?

Bug

What is the current behavior?

They typescript typings for the meta object currently list error as a boolean, but the docs suggest it should be any to match the final-form version. It looks like initial and submitError are also booleans as well.

I'm not sure if this is intended as I've only just started using the library, but from the examples it doesn't look like it should be a boolean. Sorry if I've made a mistake.

What is the expected behavior?

The type should probably be any.

@netdown
Copy link
Contributor

netdown commented Apr 7, 2020

Any updates on this?

@erikras
Copy link
Member

erikras commented Jul 23, 2020

Published fix in v3.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants