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

Improve types for innerRef #153

Merged
merged 1 commit into from
Mar 12, 2019
Merged

Improve types for innerRef #153

merged 1 commit into from
Mar 12, 2019

Conversation

huv1k
Copy link
Contributor

@huv1k huv1k commented Mar 10, 2019

HTMLInputElement only supports for input elements, but even in Readme there is ref for divs. With current typing, it's not possible. With this addition its possible to set ref to any HTML element.

@greena13 greena13 merged commit fc36cee into greena13:master Mar 12, 2019
@greena13
Copy link
Owner

Thanks for your contribution, @HuVik!

I have no idea why it was like this in the first place. :/

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 this pull request may close these issues.

2 participants