Releases: styleguidist/react-docgen-typescript
Releases · styleguidist/react-docgen-typescript
v2.2.2
v2.2.1
- component raw typescript expression as part of the
ComponentDoc.expression
- thanks to @TrevorBurnham #398 - fixed type for
ComponentDoc
- thanks to @jt-stripe PR #399
v2.1.1
- better TS error reporting - thanks @mmomtchev PR #390
- follow symbol aliases also for named exports - thanks @rihardsgravis PR #387
v2.1.0
v2.0.0
As we started to use a function that is available from typescript 4.3 we are forced to bump the major version.
- feature: Adding filePath to parser results - thanks to @fforres PR #343
- fix: TypeError: (tag.text || "").trim is not a function #356 - thanks to @michelengelen PR #360
- fix: shouldRemoveUndefinedFromOptional in TypeScript strict mode #341 - thanks to @shilman PR #361
- fix: Cannot read property 'length' of undefined #363 - thanks to @hazem3500 PR #364
v1.22.0
- feature: more accurate determination of enumeration type and return the expected enumeration value - thanks to @angular-moon PR #325
- feature: added tags for props to serialization - thanks to @carmnk PR #328
- feature: add an ability to extend component types by option field - thanks to @ypanyukov PR #333
- feature: parse default values in immediately destructured props - thanks to @michelengelen PR #338
v1.21.0
v1.20.5
- fix: fix when initializer is undefined - thanks to @SimplyY PR #303
- fix: fixed declarations.length is undefined - thanks to @careteenL PR #291
- fix: Export defaultOptions from parser - thanks to @AndrewLeedham PR #299
v1.20.4
v1.20.3
- fix docgen for default exports wrapped in React.memo or React.forwardRef - thanks to @hipstersmoothie PR #288
- follow default props that are PropertyAccessExpressions - thanks to @hipstersmoothie PR #286