Skip to content

merceyz/typescript-to-proptypes

Repository files navigation

typescript-to-proptypes

An API for converting TypeScript definitions to PropTypes using the TypeScript Compiler API

Install

yarn add typescript-to-proptypes --dev
or
npm install typescript-to-proptypes --save-dev

Support

Component type
Class ✔️
Function ✔️
Const functions ✔️
React.memo ✔️
React.ForwardRef ✔️

License

This project is licensed under the terms of the MIT license.

About

Generate proptypes from typescript declarations

Resources

License

Stars

Watchers

Forks

Packages

No packages published