Skip to content

Type alias to Readonly<Record<T,U>> is not linked to from referring symbols, documented only as Readonly #2954

Closed
@ezzatron

Description

@ezzatron

Search terms

  • Type alias
  • Broken link
  • Readonly

Expected Behavior

Given this code:

export type AliasA = Readonly<Record<string, string>>;

export interface InterfaceA {
  propertyA: AliasA;
}

I expect the documentation for propertyA to link to the documentation for AliasA.

Actual Behavior

The documentation for propertyA is documented as Readonly, with no link to anything. No combination of @expand, @inline, @expandType, or @inlineType seems to affect the output.

Steps to reproduce the bug

Please see my reproduction repo at https://github.com/ezzatron/typedoc-broken-type-alias-repro - the README includes reproduction steps.

You can see the repro output at https://ezzatron.com/typedoc-broken-type-alias-repro/interfaces/InterfaceA.html#propertya

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions