mskelton / ratchet

Codemod to convert React PropTypes to TypeScript types.
https://mskelton.dev/ratchet
ISC License
138 stars 14 forks source link

Improve preserve-prop-types option #7

Closed mskelton closed 4 years ago

mskelton commented 4 years ago

preserve-prop-types should accept an arg of all or unconverted. unconverted should only preserve the prop types which could not be converted. --preserve-prop-types should be an alias for --preserve-prop-types=all