Skip to content

Links to methods stopped working with 0.28 #2979

@bitboxer

Description

@bitboxer

Search terms

router, method names

Expected Behavior

Links to {@link Interface.method} work

Actual Behavior

We have a {@link Interface.method} that stopped working after we updated to 0.28.7 from 0.27.6. The output says:

Tried to get a URL of a router target @package.Interface.__type.method.method which did not receive a URL

Steps to reproduce the bug

We are using starlight-typedoc to integrate typedoc into our startlight page. Before we updated to the latest version, everything was working as expected. With this version, it fails.

The package.json we have in the project:

"@astrojs/starlight": "^0.34.7",
"@expressive-code/plugin-collapsible-sections": "^0.41.3",
"@expressive-code/plugin-line-numbers": "^0.41.3",
"astro": "^5.11.1",
"astro-rehype-relative-markdown-links": "^0.18.1",
"remark-link-rewrite": "^1.0.7",
"sharp": "^0.34.3",
"starlight-heading-badges": "^0.6.0",
"starlight-typedoc": "^0.21.3",
"typedoc-plugin-frontmatter": "^1.3.0",
"unist-util-visit": "^5.0.0"

Sadly I cannot share the code but would love to help to debug this, but I am not sure where to start with that.

Environment

  • Typedoc version: 0.27.7
  • TypeScript version: 5.5.4
  • Node.js version: v22.11.0
  • OS: Mac OS 15.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproductionNeeds a minimal reproducible case - https://gist.github.com/Rich-Harris/88c5fc2ac6dc941b22e7996af05d

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions