Skip to content

Automatically inline types that are not exported #1823

Closed
@jugglingcats

Description

@jugglingcats

Search Terms

inline types

Problem

At the moment if a type is not exported, just the name of the type is included in the typedoc JSON output, effectively making the type opaque.

Suggested Solution

It would be great if typedoc could simply inline these types. I have read #1021 (and related issues) and this request also seems related but perhaps suggests a sensible default behaviour. After all if the type is included the exported interface but not exported itself, it is reasonable to see the members in the generated docs. The behaviour could be behind an option if it could causes issues on some projects.

Apologies if this has been discussed already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin ideaThis feature may be best suited for a pluginwontfixDeclining to implement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions