Skip to content

References to methods that are both instance and static #488

Closed
@jonchardy

Description

@jonchardy

Say I have some class with an instance and static method of the same name:

export class Foo {
  ...
  public bar() { }
  public static bar() { }
  ...
}

and some reference to it within documentation of another class:

/**
 * See [[Foo.bar]].
 */
export class Baz {
  ...
}

Is there some way for TypeDoc to reference one of these particular methods? Currently, it seems to link to the first one. In JSDoc, this was done by using {@link Foo#bar} vs {@link Foo#.bar}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions