We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
namespace, missing export
I have a project that exports a function like this:
export namespace nested { function bar(): number { return 4; } }
I split this up into 3 files like this:
src/ nested/ bar.ts index.ts index.ts
// src/index.ts export * as nested from "./nested/index"; // src/nested/index.ts export * from "./bar"; // src/nested/bar.ts export function bar(): number { return 4; }
I expected that typedoc correctly detects the nested namespace and the bar function within it.
nested
bar
Typedoc does not detect the bar function and thinks that nested is an empty namespace.
docs/modules.html
docs/modules/nested.html
Minimal project.
The text was updated successfully, but these errors were encountered:
The namespace converter is the single most changed piece of code the past 3 weeks here... I keep half fixing it, and someone reports another bug 😅
Sorry, something went wrong.
7dfadcf
Thank you for resolving this so quickly @Gerrit0!
Glad to help :) You caught me on a day I had time and was working on TypeDoc anyways
No branches or pull requests
Search terms
namespace, missing export
Expected Behavior
I have a project that exports a function like this:
I split this up into 3 files like this:
I expected that typedoc correctly detects the
nested
namespace and thebar
function within it.Actual Behavior
Typedoc does not detect the
bar
function and thinks thatnested
is an empty namespace.docs/modules.html
docs/modules/nested.html
Steps to reproduce the bug
Minimal project.
Environment
The text was updated successfully, but these errors were encountered: