Context
In the upcoming React 19 @types/ packages, the props of ReactElement now default to unknown instead of any.
We have many occurrences that rely on ReactElement props being any (the previous default). To migrate to React 19, the any type was specified explicitly in #42346, so we can keep the previous default behavior.
This issue
We should gradually remove any and rely on the new default, unknown. This is what this issue is tracking.
Search keywords: react 19 types any react element