Skip to content

Class constructor is labeled as inherited even if it's not #1528

@marcofugaro

Description

@marcofugaro

Search terms

constructor, inherited, classes

Actual Behavior

If I have two classes, both with a constructor:

class RootClass {
  constructor() {
    // ...
  }
}

// ...

class ChildClass extends RootClass {
  constructor() {
    super()
    // ...
  }
}

In the ChildClass typedoc page, the constructor is marked as inherited even if it's not.

constructor.mov

Expected Behavior

The constructor should be marked as non-inherited, since the documentation shows is the one of the child class.

Environment

  • Typedoc version: 0.20.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions