Skip to content
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

Re-exported symbols inside a namespace are ignored #1366

Closed
hiranya911 opened this issue Sep 12, 2020 · 1 comment
Closed

Re-exported symbols inside a namespace are ignored #1366

hiranya911 opened this issue Sep 12, 2020 · 1 comment
Labels
bug Functionality does not match expectation

Comments

@hiranya911
Copy link

Search terms

namespace, re-export

Expected Behavior

List re-exported symbols as members of the namespace.

Actual Behavior

Re-exported symbols are ignored.

Steps to reproduce the bug

Run tsdoc against the following input:

// index.d.ts
interface Bar {
  prop: number;
}

declare namespace admin {
  export interface Foo {
    prop: string;
  }

  export { Bar }
}

export = admin;

Generated output only lists Foo for admin:

Screen Shot 2020-09-11 at 5 07 00 PM

Same happens when re-exporting symbols imported from another file:

import { auth } from './auth/index';

declare namespace admin {
  export { auth }
}

Environment

  • Typedoc version: v0.18.0
  • TypeScript version: v3.9.6
  • Node.js version: v10.22.0
  • OS: Mac
@hiranya911 hiranya911 added the bug Functionality does not match expectation label Sep 12, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Sep 21, 2020

Fix published in v0.19.2, thanks for the reproduction!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

2 participants