Skip to content

Duplicate declarations are generated #115

Description

@slavafomin

Hello!

Thank you for this promising tool!

However, I've tried to use it in order to create a single bundle for my library's type definitions, but I'm getting a single .d.ts file, where definition for the same class is repeated 12 times.

Also, there are multiple modules like this: declare module "src/foo/bar". Is there a way to merge all modules into a single one and avoid duplication? Could you elaborate on what could cause the duplication in the first place?

Thanks!

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