-
-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class constructor is labeled as inherited even if it's not #1528
Class constructor is labeled as inherited even if it's not #1528
Comments
I would actually argue that this is expected behavior since class RootClass {
constructor() {
// ...
}
}
// ...
class ChildClass extends RootClass {
constructor(foo: string) {
super()
// ...
}
} |
@thislooksfun I didn't include it in the minimal example but yes, in my case the two constructors have a different signature. |
Ah, in that case yeah it's definitely a bug. Sorry to interject! |
I hate every piece of code that I've written to solve this... but it works. Inheritance is the single most annoying piece of the converter right now, and mixins are the special case which makes everything so much worse. |
Search terms
constructor, inherited, classes
Actual Behavior
If I have two classes, both with a constructor:
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
The text was updated successfully, but these errors were encountered: