{"action":"created","issue":{"url":"https://api.github.com/repos/Galooshi/import-js/issues/353","repository_url":"https://api.github.com/repos/Galooshi/import-js","labels_url":"https://api.github.com/repos/Galooshi/import-js/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/Galooshi/import-js/issues/353/comments","events_url":"https://api.github.com/repos/Galooshi/import-js/issues/353/events","html_url":"https://github.com/Galooshi/import-js/issues/353","id":195219420,"number":353,"title":"is it possible to get 'import * as ..' syntax?","user":{"login":"asfktz","id":199747,"avatar_url":"https://avatars.githubusercontent.com/u/199747?v=3","gravatar_id":"","url":"https://api.github.com/users/asfktz","html_url":"https://github.com/asfktz","followers_url":"https://api.github.com/users/asfktz/followers","following_url":"https://api.github.com/users/asfktz/following{/other_user}","gists_url":"https://api.github.com/users/asfktz/gists{/gist_id}","starred_url":"https://api.github.com/users/asfktz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfktz/subscriptions","organizations_url":"https://api.github.com/users/asfktz/orgs","repos_url":"https://api.github.com/users/asfktz/repos","events_url":"https://api.github.com/users/asfktz/events{/privacy}","received_events_url":"https://api.github.com/users/asfktz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-13T10:47:23Z","updated_at":"2016-12-13T15:17:03Z","closed_at":null,"body":"Hi!\r\nFirst, many thanks, I discovered import-js yesterday and it made me 100% more happy. \r\n\r\n\r\nI wonder if it possible to get that import declaration syntax:\r\n\r\n``` js\r\nimport * as actions from './actions'\r\n```\r\n\r\n---\r\n\r\n\r\nAnd, is there by any chance a possibility to get:\r\n``` js\r\nimport * as { getTodos } from './actions'\r\n```\r\n\r\nwithout explicitly specify `getTodos` in `namedExports`? \r\n\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Galooshi/import-js/issues/comments/266765099","html_url":"https://github.com/Galooshi/import-js/issues/353#issuecomment-266765099","issue_url":"https://api.github.com/repos/Galooshi/import-js/issues/353","id":266765099,"user":{"login":"trotzig","id":578277,"avatar_url":"https://avatars.githubusercontent.com/u/578277?v=3","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T15:17:03Z","updated_at":"2016-12-13T15:17:03Z","body":"Import-js currently doesn't support imports using `*`. Supporting it makes sense, although I question if your second example is a good idea - I think it's better to use \r\n\r\n```js\r\nimport { getTodos } from './actions';\r\n```\r\nThe star seems redundant to me. I might be misunderstanding something though. \r\n\r\nAs for automatically importing named exports, we have a plan for it in https://github.com/Galooshi/import-js/issues/199 but there has been no active work on it for a while now. \r\n\r\nIf you decide to implement support for some of this, it's probably good to know that I'm planning to rewrite parsing for imports. It might be simpler to support \"star imports\" after that rewrite.  "}}
{"actor":{"display_login":"trotzig"}}