Skip to content

narehart/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

Languages

  • TypeScript 87.5%
  • JavaScript 12.5%