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
A type declared inside an exported namespace should be documented, even when the namespace shares the name of a function type.
/** * Test function * * @param options Options for the function */declareconsttest: (options?: test.Options)=>void;declarenamespacetest{/** Test options */interfaceOptions{a: string;b: number;}}export{test};
Actual Behavior
In the above example, the inner type test.Options is not being documented. I am getting a warning in the terminal:
[warning] test.Options, defined in ./index.ts, is referenced by test.test.options but not included in the documentation.
This seems related to #2476, but still occurs in TypeDoc v0.25.7 when a namespace shares the name of a function type (not a function declaration).
Search terms
namespace, function, const
Expected Behavior
A type declared inside an exported namespace should be documented, even when the namespace shares the name of a function type.
Actual Behavior
In the above example, the inner type
test.Options
is not being documented. I am getting a warning in the terminal:[warning] test.Options, defined in ./index.ts, is referenced by test.test.options but not included in the documentation.
This seems related to #2476, but still occurs in TypeDoc v0.25.7 when a namespace shares the name of a function type (not a function declaration).
Steps to reproduce the bug
Repro: https://stackblitz.com/edit/stackblitz-starters-qjgazd
For reference, this is the full type declaration file where I originally found this problem: https://github.com/origin-1/c8js/blob/31a262b396c98d95622fcc4b1a31fe04a7d314ea/lib/c8js.d.ts
Environment
The text was updated successfully, but these errors were encountered: