Declare children on props types
ProprietaryAdds children?: ReactNode to locally declared props types of components that read children, which @types/react 18 no longer provides implicitly.
org. openrewrite. react.18. add-children-to-propsmod run . --recipe= org. openrewrite. react.18. add-children-to-propsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.