I just used the types-react-codemod@latest preset-19 per the TypeScript Changes in the React 19 upgrade guide and it replaced my own Validator type in one of my files with PropTypes.Validator.
Not a big deal but thought I would report it. Thanks for the codemod!
Yeah I cheated here a bit and just looked for Validator without actually checking if it comes from react. Would love to see a fix from somebody but I won't have time to prioritize this.
Hi,
I just used the
types-react-codemod@latest preset-19
per the TypeScript Changes in the React 19 upgrade guide and it replaced my ownValidator
type in one of my files withPropTypes.Validator
.Not a big deal but thought I would report it. Thanks for the codemod!