-
Notifications
You must be signed in to change notification settings - Fork 57
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
handleChange definition in FormState type definition is incorrect #140
Comments
🎉 This issue has been resolved in version 1.10.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@letoast thanks for raising the issue. Please check out v1.10.9 and let me know if you have any issues |
@larrybotha handleChange(event: Event) => any That way, typescript shouldn't report that the function is expecting 0 arguments if you pass in an event when calling it. |
🎉 This issue has been resolved in version 1.10.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No probs, thank you for the fast update! |
inside /lib/index.d.ts:
which is incorrect, since the function's definition inside create-form.js is
this produces an annoying warning if you try to pass an event to the function manually....
The text was updated successfully, but these errors were encountered: