-
Notifications
You must be signed in to change notification settings - Fork 709
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
Methods marked with @internal
show up in the docs for child classes if redeclared
#2084
Comments
@internal
show up in the docs for child classes@internal
show up in the docs for child classes if redeclared
Hmmmm... this is because TypeDoc does removal before all of the logic to copy comments around. This is an unfortunate inconsistency, will be rather annoying to fix. Worth noting that TypeDoc intentionally does not follow JSDoc's behavior in several places, so using JSDoc's site to guess what TypeDoc will do isn't always safe. |
Corollary: class Foo { /** @hidden */ method() {} }
class Bar { /** {@inheritDoc Foo.method} */ baz() {} } Should |
Current process... rearranging this is going to be tricky to do without breaking things. Probably going to take at least a day dedicated to just this at some point... During conversion:
Resolve begin:
Resolve:
Resolve end:
|
Expected Behavior
Interpreting the JSDoc documentation where it states
I would expect the
@internal
annotation to also affect methods of inherited implementations, even if I'm redeclaring them in a child class.Actual Behavior
Typedoc generates documentation for a method that is marked
@internal
in a parent class and redeclared within a child class, even if there are no additional JSDoc comments on the declaration within the child classSteps to reproduce the bug
"typedoc": "0.23.15"
yarn typedoc
Environment
The text was updated successfully, but these errors were encountered: