Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct type of
ref
in forwardRef render() (#13100)
`React$ElementRef<T>` is the type of the ref _instance_ for a component of type T, whereas `React$Ref<T>` is the type of the ref _prop_ for a component of type T, which seems to be the intended type here.
- Loading branch information