props2dts

1.0.6 • Public • Published

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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i props2dts

    Weekly Downloads

    0

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    2.77 kB

    Total Files

    5

    Last publish

    Collaborators

    • nyasro