-
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
Documentation for function variables was not inferred #1523
Comments
This is a really tricky one. We could technically achieve this by relying on /** NS docs */
namespace Foo {}
/** Function docs */
function Foo() {} I also wonder... what's the right solution in a case like this? /** Does this get ignored? What it if includes important info like @hidden? */
export const callable: Callable = ... I should really write down somewhere what TypeDoc currently does for comments so that it's easier to propose refinements to what it does... |
@Gerrit0 I think TypeDoc should at least inherit tags like |
Inheritance isn't the tricky part - we already do that for normal interface/class members. The tricky part is inherit from where? There is no |
Search terms
const, function
Expected Behavior
Documentation for function variables should be inferred, i.e. the description, parameter descriptions etc. should be inherited.
Actual Behavior
Steps to reproduce the bug
Please refer to the code snippet above.
Environment
The text was updated successfully, but these errors were encountered: