Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[typescript] Fix AnyComponent for functional components. (#12589)
A functional component does not return a ReactElement with the same props as its input, but a ReactElement with props of its child component. The props of its child component can not be determined and are irrelevant for typing purposes.
- Loading branch information