Closed thielium closed 5 years ago
This is intentional. There were issues on generating prop types in Program:exit
, so they're generated when a class is found. I'll look into this again but it may just be a caveat to deal with.
This should work now.
Steps to reproduce
The following fixture receives no
PropTypes
.Moving the
Props
to the top of the file does yieldPropTypes
.Here's the fixture + expected snapshot; thought that might be easier than posting in the comment.