You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
Search terms
Implementation of
Expected Behavior
The "Implementation of X.y" section should always link to both
X
andy
.Actual Behavior
If
y
and the implementation ofy
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
npm ci
npm i -d typedoc@0.24.1
npm run build:docs
docs/index.html
Or see the doc pages generated by 0.23.28:
ENFA.Builder#isFinal
andFABuilder#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-style
rule.The text was updated successfully, but these errors were encountered: