1.0.6 • Published 4 years ago

props2dts v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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 --dev

OR

npm install props2dts --save-dev

Usage

yarn generate {root_dirname}

For example:

yarn generate ./src
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago