Skip to content

[api-extractor] Re-exported namespace members not included in the report #2145

Open
@hiranya911

Description

@hiranya911

Is this a feature or a bug?

  • Feature
  • Bug

Please describe the actual behavior.

Consider the following entrypoint implementation:

import * as _auth from './auth/auth';

export namespace auth {
    export import Auth = _auth.Auth;
    export import UserRecord = _auth.UserRecord;
}

Note that the auth namespace re-exports several types from another module. I expect definitions of Auth and UserRecord to be included in the generated API report. But this is all I get:

// @public (undocumented)
export namespace auth {
    import Auth = _auth.Auth;
    import UserRecord = _auth.UserRecord;
}


// (No @packageDocumentation comment for this package)

If this is a bug, please provide the tool version, Node.js version, and OS.

  • Tool: API Extractor
  • Tool Version: v7.9.11
  • Node Version: v10.22.0
  • OS: Mac OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    AE/AD

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions