{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8280","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8280/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8280/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8280/events","html_url":"https://github.com/Microsoft/TypeScript/issues/8280","id":150840341,"number":8280,"title":"export import","user":{"login":"aleksey-bykov","id":937933,"avatar_url":"https://avatars.githubusercontent.com/u/937933?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksey-bykov","html_url":"https://github.com/aleksey-bykov","followers_url":"https://api.github.com/users/aleksey-bykov/followers","following_url":"https://api.github.com/users/aleksey-bykov/following{/other_user}","gists_url":"https://api.github.com/users/aleksey-bykov/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksey-bykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksey-bykov/subscriptions","organizations_url":"https://api.github.com/users/aleksey-bykov/orgs","repos_url":"https://api.github.com/users/aleksey-bykov/repos","events_url":"https://api.github.com/users/aleksey-bykov/events{/privacy}","received_events_url":"https://api.github.com/users/aleksey-bykov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Declined","name":"Declined","color":"556677"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Suggestion","name":"Suggestion","color":"006b75"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Too%20Complex","name":"Too Complex","color":"556677"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-25T12:20:58Z","updated_at":"2016-04-25T21:13:40Z","closed_at":"2016-04-25T17:10:58Z","body":"`export import` used to work with the old `require` style imports\r\n\r\nnow with ES6 modules it takes 2 identical declarations: one to import stuff, and another one to export it\r\n\r\nplease make it possible to do `export import` again \r\n\r\n\r\n```typescript\r\nimport { MapMainWard, mapMainWardKind, isMapMainWard, asMapMainWard } from 'models/map/main/ward';\r\nimport { MapFilterWard, mapFilterWardKind, isMapFilterWard, asMapFilterWard } from 'models/map/filter/ward';\r\nimport { BeamLoadingMainWard, beamLoadingMainWardKind, isBeamLoadingMainWard, asBeamLoadingMainWard } from 'models/beam-loading/main/ward';\r\nimport { BeamLoadingFilterWard, beamLoadingFilterWardKind, isBeamLoadingFilterWard, asBeamLoadingFilterWard } from 'models/beam-loading/filter/ward';\r\nimport { SawtoothMainWard, sawtoothMainWardKind, isSawtoothMainWard, asSawtoothMainWard } from 'models/sawtooth/main/ward';\r\nimport { SawtoothFilterWard, sawtoothFilterWardKind, isSawtoothFilterWard, asSawtoothFilterWard } from 'models/sawtooth/filter/ward';\r\nimport { AttributesMainWard, attributesMainWardKind, isAttributesMainWard, asAttributesMainWard } from 'models/attributes/main/ward';\r\nimport { SearchMainWard, searchMainWardKind, isSearchMainWard, asSearchMainWard } from 'models/search/main/ward';\r\n\r\nexport { MapMainWard, mapMainWardKind, isMapMainWard, asMapMainWard } from 'models/map/main/ward';\r\nexport { MapFilterWard, mapFilterWardKind, isMapFilterWard, asMapFilterWard } from 'models/map/filter/ward';\r\nexport { BeamLoadingMainWard, beamLoadingMainWardKind, isBeamLoadingMainWard, asBeamLoadingMainWard } from 'models/beam-loading/main/ward';\r\nexport { BeamLoadingFilterWard, beamLoadingFilterWardKind, isBeamLoadingFilterWard, asBeamLoadingFilterWard } from 'models/beam-loading/filter/ward';\r\nexport { SawtoothMainWard, sawtoothMainWardKind, isSawtoothMainWard, asSawtoothMainWard } from 'models/sawtooth/main/ward';\r\nexport { SawtoothFilterWard, sawtoothFilterWardKind, isSawtoothFilterWard, asSawtoothFilterWard } from 'models/sawtooth/filter/ward';\r\nexport { AttributesMainWard, attributesMainWardKind, isAttributesMainWard, asAttributesMainWard } from 'models/attributes/main/ward';\r\nexport { SearchMainWard, searchMainWardKind, isSearchMainWard, asSearchMainWard } from 'models/search/main/ward';\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/214523900","html_url":"https://github.com/Microsoft/TypeScript/issues/8280#issuecomment-214523900","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8280","id":214523900,"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":"2016-04-25T21:13:40Z","updated_at":"2016-04-25T21:13:40Z","body":"the complexity is adding an additional variation on the syntax that is not part of the standard."}}