-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix(FormControl): onChange and innerRef ts decls (#3583,#3568,#2781) #4435
fix(FormControl): onChange and innerRef ts decls (#3583,#3568,#2781) #4435
Conversation
…react-bootstrap#3568,react-bootstrap#2781) - Added tests to simple.test.tsx
we do test the types, i thought? we should get rid of the last few |
@taion - the My original PR was going to just fix the Not sure there's a way to get clean typings for
|
That seems weird. So is there no way to get |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, for the time being this is just an improvement, anyway
@taion - The
There is a workaround |
thanks for digging that up. i'm comfortable moving forward with this. we'll likely want to switch everything to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely an improvement for the time being, great work 👍
These changes seemed get the types sorted out for my project. I added some tests to
simple.test.tsx
to confirm and demonstrate my usage.May want to consider adding a test-types script to package.json and including it in the main test script.