- Update to support 0.15.0 of
extract-react-types
- breaking The structure of the
Program
kind fromextract-react-types
has changed.0.5.0
consumes and responds to that change, and will only work with later versions ofextract-react-types
.
- Use to mean the prop type can be selected separately to the prop name
Thanks Maciej Adamczak for
Thanks Michael Blaszczyk for these contributions!
- Support spreading generic types that cannot be reduced down to objects
- Move reduceToObj to kind2string and then update kind2string dependency
- pull in newer version of kind2string, adding support for 'export' and 'exportSpecifier' kinds.
- Add arrayType converter
- Remove whitespace created by converting a type that wasn't there
- fix bug where object converter would assume all spreads had members when they were resolved from generic. Some spreads will resolve to an import. Used simple solution of allowing spreads that did not resolve to have members gets caught with a second call to prettyConvert.