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

Update forwardedRef type #396

Merged
merged 1 commit into from
Nov 23, 2020
Merged

Conversation

TiagoPortfolio
Copy link
Contributor

The forwardedRef is mutable and it can also be null. Reference: https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/forward_and_create_ref/.
Just updated the types accordingly.

Fixes #393

The `forwardedRef` is mutable and it can also be `null`. Reference: https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/forward_and_create_ref/.
Just updated the types accordingly.
@robmadole robmadole merged commit 079e3d0 into FortAwesome:master Nov 23, 2020
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.

forwardedRef incorrectly typed
2 participants