Skip to content

Better flow type support for complex types #742

Open
@philippotto

Description

@philippotto

As far as I can see the current flow type support doesn't support the use of the actual type definition.

For example:

/**
 * A ComplexType with some properties
 */
export type ComplexType = {
  a: number,
  b: number,
};

only outputs:

image

However, I would expect that the documentation also lists the properties of the type, since I don't want to mirror the definitions in the comments.

Are there any plans for that, or a workaround I could use?

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