Import the prop-types types from prop-types
ProprietaryMoves Requireable, Validator, ValidationMap and WeakValidationMap, which @types/react 19 no longer exports, from react to prop-types as type-only imports, and adds @types/prop-types to the packages they move in.
org. openrewrite. react.19. deprecated-prop-types-typesmod run . --recipe= org. openrewrite. react.19. deprecated-prop-types-typesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.