{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7287","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7287/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7287/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7287/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7287","id":137115732,"number":7287,"title":"\"default\" property exported with \"export=\" cannot be imported as default","user":{"login":"billti","id":993909,"avatar_url":"https://avatars.githubusercontent.com/u/993909?v=3","gravatar_id":"","url":"https://api.github.com/users/billti","html_url":"https://github.com/billti","followers_url":"https://api.github.com/users/billti/followers","following_url":"https://api.github.com/users/billti/following{/other_user}","gists_url":"https://api.github.com/users/billti/gists{/gist_id}","starred_url":"https://api.github.com/users/billti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billti/subscriptions","organizations_url":"https://api.github.com/users/billti/orgs","repos_url":"https://api.github.com/users/billti/repos","events_url":"https://api.github.com/users/billti/events{/privacy}","received_events_url":"https://api.github.com/users/billti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Fixed","name":"Fixed","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"billti","id":993909,"avatar_url":"https://avatars.githubusercontent.com/u/993909?v=3","gravatar_id":"","url":"https://api.github.com/users/billti","html_url":"https://github.com/billti","followers_url":"https://api.github.com/users/billti/followers","following_url":"https://api.github.com/users/billti/following{/other_user}","gists_url":"https://api.github.com/users/billti/gists{/gist_id}","starred_url":"https://api.github.com/users/billti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billti/subscriptions","organizations_url":"https://api.github.com/users/billti/orgs","repos_url":"https://api.github.com/users/billti/repos","events_url":"https://api.github.com/users/billti/events{/privacy}","received_events_url":"https://api.github.com/users/billti/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/1","html_url":"https://github.com/Microsoft/TypeScript/milestones/TypeScript%202.0","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/1/labels","id":721040,"number":1,"title":"TypeScript 2.0","description":"The next major release of TypeScript","creator":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars.githubusercontent.com/u/6685088?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":457,"state":"open","created_at":"2014-07-14T23:24:03Z","updated_at":"2016-06-20T23:30:55Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-29T00:17:10Z","updated_at":"2016-06-20T23:30:55Z","closed_at":"2016-06-20T23:30:55Z","body":"Given the below module definition:\r\n\r\n```typescript\r\nvar foo = {\r\n    a: \"test\",\r\n    \"default\": 42\r\n};\r\nexport = foo;\r\n```\r\n\r\nThe below fails to import the default property (as name `def`), stating that the module *\"has no default property\"*.\r\n\r\n```typescript\r\nimport def, {a} from \"./mod1\"\r\na.toString();\r\n```\r\n\r\nNote however the below works fine:\r\n\r\n```typescript\r\nimport {default as def, a} from \"./mod1\"\r\na.toString();\r\n```\r\n\r\nThis is (loosely) related to #7248, and I have a fix in testing."}}
{"actor":{"display_login":"billti"}}