Closed
Description
Search terms
link
Steps to reproduce the bug
export interface MyInterface {
}
export interface Nested {
// This will link to Nested.MyInterface in generated documentation
// The behaviour is different from the Typescript Language Server, which links to interface MyInterface
/** {@link MyInterface} */
readonly MyInterface: new() => MyInterface;
}
Notice that this will work correctly
export interface MyInterface {
}
export type Nested = {
// Both Typedoc and TS Language Server will point to interface MyInterface
/** {@link MyInterface} */
readonly MyInterface: new() => MyInterface;
};
Environment
- Typedoc version:
TypeDoc 0.22.17
- TypeScript version:
Version 4.7.2
- Node.js version:
v16.15.0
- OS:
macOS Monterey Version 12.4