{"action":"closed","issue":{"url":"https://api.github.com/repos/TypeStrong/dts-bundle/issues/37","repository_url":"https://api.github.com/repos/TypeStrong/dts-bundle","labels_url":"https://api.github.com/repos/TypeStrong/dts-bundle/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/dts-bundle/issues/37/comments","events_url":"https://api.github.com/repos/TypeStrong/dts-bundle/issues/37/events","html_url":"https://github.com/TypeStrong/dts-bundle/issues/37","id":146894278,"number":37,"title":"Export declaration conflicts","user":{"login":"heruan","id":851745,"avatar_url":"https://avatars.githubusercontent.com/u/851745?v=3","gravatar_id":"","url":"https://api.github.com/users/heruan","html_url":"https://github.com/heruan","followers_url":"https://api.github.com/users/heruan/followers","following_url":"https://api.github.com/users/heruan/following{/other_user}","gists_url":"https://api.github.com/users/heruan/gists{/gist_id}","starred_url":"https://api.github.com/users/heruan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heruan/subscriptions","organizations_url":"https://api.github.com/users/heruan/orgs","repos_url":"https://api.github.com/users/heruan/repos","events_url":"https://api.github.com/users/heruan/events{/privacy}","received_events_url":"https://api.github.com/users/heruan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T11:02:38Z","updated_at":"2016-04-08T13:32:24Z","closed_at":"2016-04-08T13:32:24Z","body":"Say I have a main `index.d.ts` generated by the TS compiler such as: \r\n```typescript\r\nimport { Logger } from \"logger\";\r\nimport { Cache } from \"cache;\r\nexport { Logger, Cache };\r\n```\r\nthen `dts-bundle` produces this:\r\n```typescript\r\ndeclare module \"my-module\" {\r\n    import { Logger } from \"logger\";\r\n    import { Cache } from \"cache;\r\n    export { Logger, Cache };\r\n}\r\n```\r\nwhich throws this error when seen by the compiler:\r\n```\r\nExport declaration conflicts with exported declaration of 'Logger'\"\r\nExport declaration conflicts with exported declaration of 'Cache'\"\r\n```\r\nAfter removing the `export { Logger, Cache };` line, it works."}}