1.0.6 • Published 4 years ago
props2dts v1.0.6
props2dts
props2dts is a tool that will generate *.d.ts file next to each *.jsx. It takes Component.propTypes properties to know the types
Installing
yarn install props2dts --devOR
npm install props2dts --save-devUsage
yarn generate {root_dirname}For example:
yarn generate ./src