TypeStrong / dts-bundle

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

Interfaces with same name in separate files are combined #74

Open matthias-ccri opened 5 years ago

matthias-ccri commented 5 years ago

I have separate files that define private interfaces of the same name. By "private" I mean not exported. dts-bundle puts them all in one file, where all the IProps interfaces combine into one mega-interface, which is bad news, since they're supposed to be different interfaces.

Do I have to give all my interfaces globally unique names?

(Using outputAsModuleFolder: true)