milesj/babel-plugin-typescript-to-proptypes
Generate React PropTypes from TypeScript interfaces or type aliases.
TypeScriptMIT
Issues
- 1
- 4
- 2
Incorrect code generated for union types
#63 opened by ianhoffman - 1
Support for Void Function Components
#62 opened by marcohamersma - 1
Usage description
#61 opened by kbarinova - 2
Rename import
#60 opened by jamesmsk - 1
Type import from react alongside default import causes the plugin to not output prop types
#59 opened by juzerzarif - 2
Conditional types issue
#29 opened by jeremy-christian - 1
Error: "default" is imported from external module "react" but never used
#51 opened by Andrei-Dimitrov - 1
- 19
Extends external/imported interfaces/types
#8 opened by panjiesw - 3
Does not work with Pick<>
#15 opened by city41 - 2
Destructured Props in Functional Component
#45 opened by skipjack - 0
Does not generate propTypes for forwardRef.
#44 opened by mercurial20 - 1
- 5
- 0
- 1
Usage with Yarn 2.0 Plug'n'Play
#37 opened by ChrisSargent - 12
Does not work with forwardRef
#22 opened by LankyLou - 2
Not working, only imports prop-types
#35 opened by TidyIQ - 7
TypeError: Cannot read property 'name' of null
#34 opened by smeijer - 0
Unions compiling down to invalid values
#31 opened by milesj - 1
- 1
T[] vs Array<T>
#30 opened by jdeniau - 3
- 4
enums transform to .any
#17 opened by mhaidamashko - 3
Does not work with ESM builds
#12 opened by milesj - 3
Using Mapped Types does not yield any prop type
#23 opened by emmenko - 1
- 1
Using the plugin without Babel?
#9 opened by slavafomin - 4
- 3
Support anonymous functions without React.FC
#10 opened by echenley - 2
Order of type declaration is significant
#4 opened by thielium - 4
- 0
Test keyof/typeof support
#6 opened by milesj - 4
IndexedAccessType not deeply traversed
#3 opened by thielium