Skip to content

[api-extractor] Namespace-level objects getting dropped #946

Open
@AlexJerabek

Description

@AlexJerabek

Objects created at the namespace level are not captured by API-Extractor. In the following example, we'll see Office in the json files, but not context.

declare namespace Office {
    var context: Context;
}

Source d.ts

Metadata

Metadata

Assignees

Labels

enhancementThe issue is asking for a new feature or design changeneeds more infoWe can't proceed because we need a better repro or an answer to a questionpriorityThe maintainers consider it to be an important issue. We should try to fix it soon.repro confirmedThe issue comments included repro instructions, and the maintainers reproduced the problem

Type

No type

Projects

Status

AE/AD

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions