Skip to content

[api-extractor] Fix error: The symbol "X" was also exported as "Y"; this is not supported yet #950

Description

If the entry point for a package does something like this:

export const karma: KarmaTask = new KarmaTask();
export default karma;

...then API Extractor prints this error:

The symbol "default" was also exported as "karma"; this is not supported yet

This is relatively easy to fix; we just need to support multiple CollectorEntry items for the same underlying AstSymbol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions