Move Built-in Props Types to React Types (#32841)
Stacked on #32838. We don't always type the Props of built-ins. This adds typing for most of the built-ins. When we did type them, we used to put it in the `ReactFiber...Component` files but any public API like this can be implemented in other renderers too such as Fizz. So I moved them to `shared/ReactTypes` which is where we put other public API types (that are not already built-in to Flow). That way Fizz can import them and assert properly when it accesses the props.
S
Sebastian Markbåge committed
c44e4a250557e53b120e40db8b01fb5fd93f1e35
Parent: 31ecc98
Committed by GitHub <[email protected]>
on 4/10/2025, 2:44:44 AM