Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

Incorrect namespaces in externs when non-ambient declarations are imported #1202

@theseanl

Description

@theseanl

When non-ambient declarations in a module .d.ts file is imported and referenced by another .d.ts, it will have an incorrect name.

Here is a repro: https://github.com/theseanl/tsickle-ambient-externs-bug: execute node invoke_tsickle.js to generate externs.js, then its line 46 contains an identifier that is nowhere defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions