{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4336","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4336/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4336/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4336/events","html_url":"https://github.com/Microsoft/TypeScript/issues/4336","id":101317013,"number":4336,"title":"Re-exporting namespace declarations in ES6 ambient declaration","user":{"login":"jbrantly","id":196944,"avatar_url":"https://avatars.githubusercontent.com/u/196944?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrantly","html_url":"https://github.com/jbrantly","followers_url":"https://api.github.com/users/jbrantly/followers","following_url":"https://api.github.com/users/jbrantly/following{/other_user}","gists_url":"https://api.github.com/users/jbrantly/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrantly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrantly/subscriptions","organizations_url":"https://api.github.com/users/jbrantly/orgs","repos_url":"https://api.github.com/users/jbrantly/repos","events_url":"https://api.github.com/users/jbrantly/events{/privacy}","received_events_url":"https://api.github.com/users/jbrantly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-17T01:26:58Z","updated_at":"2015-08-17T18:09:47Z","closed_at":null,"body":"Right now many declaration files take this form:\r\n\r\n```typescript\r\ndeclare namespace MyLib {\r\n\r\n}\r\n\r\ndeclare module 'myLib' {\r\n  export = MyLib;\r\n}\r\n```\r\n\r\nHowever, there doesn't seem to be an equivalent for ES6 modules:\r\n\r\n```typescript\r\ndeclare module 'myLib' {\r\n  export default MyLib; // this works for exporting the default, but other exported items in MyLib are not considered to be named exports of the ES6 module\r\n  export * from MyLib; // this is essentially what I'm trying to accomplish\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/131912405","html_url":"https://github.com/Microsoft/TypeScript/issues/4336#issuecomment-131912405","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4336","id":131912405,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T18:09:47Z","updated_at":"2015-08-17T18:09:47Z","body":"so why use `export =` then?"}}