TypeStrong / dts-bundle

Export TypeScript .d.ts files as an external module definition
MIT License
308 stars 57 forks source link

Duplicate Identifiers for Extended Classes #45

Open sqwk opened 7 years ago

sqwk commented 7 years ago

When bundling definitions for two classes (in separate files) that extend one another, the output definition file ends up with duplicate identifiers:

export declare class SomeClass { }
export class SomeClass { }

Can these two be merged automatically?

bertiespell commented 6 years ago

Has anyone made any progress on this? I'm encountering the same problem!