Replace ReactChild with ReactElement | number | string
ProprietaryReplaces React's ReactChild type, removed in @types/react 19, with ReactElement | number | string, parenthesized where needed.
org. openrewrite. react.19. deprecated-react-childmod run . --recipe= org. openrewrite. react.19. deprecated-react-childInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.