Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate a few React.Element type that will be synced to react-native (
#30719) Summary: ## Summary Flow will eventually remove the specific `React.Element` type. For most of the code, it can be replaced with `React.MixedElement` or `React.Node`. When specific react elements are required, it needs to be replaced with either `React$Element` which will trigger a `internal-type` lint error that can be disabled project-wide, or use `ExactReactElement_DEPRECATED`. Fortunately in this case, this one can be replaced with just `React.MixedElement`. ## How did you test this change? `flow` DiffTrain build for commit facebook/react@85fb95c. bypass-github-export-checks Reviewed By: poteto Differential Revision: D61397212 Pulled By: SamChou19815 fbshipit-source-id: c0aa5a4ed3922f88b7e557738f76f872c02a9d07
- Loading branch information