Search terms
Implementation of
Expected Behavior
The "Implementation of X.y" section should always link to both X and y.

Actual Behavior
If y and the implementation of y are not the same kind, then there will be no link.
Note: I have only tested with methods implementing a property, but I highly suspect that properties implementing a method will have the same issue. Another case that should be tested is accessors implementing methods.
In the following example, isFinal is declared as a property, but implemented as a method.


Steps to reproduce the bug
- Download https://github.com/RunDevelopment/refa
npm ci
npm i -d typedoc@0.24.1
npm run build:docs
- Open
docs/index.html
Or see the doc pages generated by 0.23.28: ENFA.Builder#isFinal and FABuilder#isFinal.
Environment
- Typedoc version: 0.24.1 (or 0.23.x)
- TypeScript version: 5.0.2
- Node.js version: 16.13.0
- OS: Win10
Additional context
It's import for typedoc to support both styles. Property style declarations in interfaces have slightly different semantics to method style declarations, so we sometimes must use property style to ensure correctness. For more info, see TypeScript ESLint's method-signature-style rule.
Search terms
Implementation of
Expected Behavior
The "Implementation of X.y" section should always link to both
Xandy.Actual Behavior
If
yand the implementation ofyare not the same kind, then there will be no link.Note: I have only tested with methods implementing a property, but I highly suspect that properties implementing a method will have the same issue. Another case that should be tested is accessors implementing methods.
In the following example,
isFinalis declared as a property, but implemented as a method.Steps to reproduce the bug
npm cinpm i -d typedoc@0.24.1npm run build:docsdocs/index.htmlOr see the doc pages generated by 0.23.28:
ENFA.Builder#isFinalandFABuilder#isFinal.Environment
Additional context
It's import for typedoc to support both styles. Property style declarations in interfaces have slightly different semantics to method style declarations, so we sometimes must use property style to ensure correctness. For more info, see TypeScript ESLint's
method-signature-stylerule.