-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
internalBehind-the-scenes enhancement. Formerly called “core”.Behind-the-scenes enhancement. Formerly called “core”.ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedHelp wanted. Guidance available. There is a high chance the change will be acceptedtypescript
Description
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
Metadata
Metadata
Assignees
Labels
internalBehind-the-scenes enhancement. Formerly called “core”.Behind-the-scenes enhancement. Formerly called “core”.ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedHelp wanted. Guidance available. There is a high chance the change will be acceptedtypescript