cloudoperators / juno

Monorepo for the Juno microfrontend framework, microfrontend apps, design system and component library
http://cloudoperators.github.io/juno/
Apache License 2.0
4 stars 0 forks source link

spike(ui): Try ratchet codemod to convert PropTypes to Typescript types #82

Closed edda closed 1 month ago

edda commented 3 months ago

juno-ui-components uses React PropTypes to declare the API and set default values. Since we want to standardize on Typescript for libs in the future and PropTypes will go away with React 19, it would be good if there was an automatic or semi-automatic way to initially create the types from the PropTypes we already have.