v3.0.0-beta8
Pre-release
Pre-release
(cherry picked changes released in v2.19.0
)
New
See v2.19.0
.
Fixed
-
See
v2.19.0
. -
Flow: Function type definitions without parameter names are now supported. For example:
type Props = { callback: (string) => void, }
In such a case the parameter name will simply be empty. See the commit ( #218 ) for an example of the output. Thank you @odinuge!
Other
- See
v2.19.0
. getMemberValuePath
now understandsTaggedTemplateExpression
s. This is used by @Jmeyering's custom annotation resolver. Check it out at https://github.com/Jmeyering/react-docgen-annotation-resolver ! Thank you @Jmeyering!
You can install this version via npm install react-docgen@next
.