eps1lon / types-react-codemod

Collection of transforms for jscodeshift related to `@types/react`
MIT License
302 stars 10 forks source link

Codemod for `ReactElement` -> `ReactElement<any>` #367

Closed eps1lon closed 4 months ago

eps1lon commented 4 months ago

Should not be on by default in preset-19

The idea is that it makes your code type-safer. Depending on how much it break, you might want to apply it and track the any down over time i.e. this makes new code type-safer while old code can stay as-is.