Skip to content

Wrong union description with TypeScript #1621

@atiupin

Description

@atiupin

Current behavior
When using TypeScript unions, react-styleguidist isn't providing any description. Moreover, is shows annoying empty div.

Screenshot 2020-06-26 at 17 31 05

To reproduce
Use TypeScript and add description to any union field. Demo: https://codesandbox.io/s/goofy-forest-zmeiy

Expected behavior
Unwrapped union description or at least no empty div.

Version
11.0.8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions