You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@hidden implementation of non-hidden overloads result in documentation that marks the function as hidden #2634
When the implementation of overloads is marked with @hidden while the overloads aren't, the generated documentation of the function is also marked marked with Hidden.
Reproduction
Save the following file to a.ts.
/** * @param a - Number param. */exportfunctionf(a: number): void;/** * @param a - String param. */exportfunctionf(a: string): void;/** @hidden */exportfunctionf(a: string|number): void{console.log(a);}
Run typedoc a.ts. Check out the output.
Expected Behavior
Function f above shouldn't be marked as Hidden in the generated doc.
changed the title [-]`@hidden` still shows for overloaded function[/-][+]`@hidden` implementation of non-hidden overloads result in documentation that mark the function as hidden[/+]on Jul 9, 2024
changed the title [-]`@hidden` implementation of non-hidden overloads result in documentation that mark the function as hidden[/-][+]`@hidden` implementation of non-hidden overloads result in documentation that marks the function as hidden[/+]on Jul 9, 2024
Activity
[-]`@hidden` still shows for overloaded function[/-][+]`@hidden` implementation of non-hidden overloads result in documentation that mark the function as hidden[/+][-]`@hidden` implementation of non-hidden overloads result in documentation that mark the function as hidden[/-][+]`@hidden` implementation of non-hidden overloads result in documentation that marks the function as hidden[/+]Gerrit0 commentedon Jul 10, 2024
That should have entirely removed the function from the documentation... weird.
xuhdev commentedon Jul 10, 2024
How should we exclude the implementation prototype from the doc then? They are often only used for implementation and not for users to read.
xuhdev commentedon Jul 10, 2024
nvm, the implementation is undocumented by default.
Fix `@hidden` on function implementations