{"action":"closed","issue":{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/1120","repository_url":"https://api.github.com/repos/benmosher/eslint-plugin-import","labels_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/1120/labels{/name}","comments_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/1120/comments","events_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/1120/events","html_url":"https://github.com/benmosher/eslint-plugin-import/issues/1120","id":332595991,"node_id":"MDU6SXNzdWUzMzI1OTU5OTE=","number":1120,"title":"Import of Typescript interface is not recognised correctly","user":{"login":"majelbstoat","id":425787,"node_id":"MDQ6VXNlcjQyNTc4Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/425787?v=4","gravatar_id":"","url":"https://api.github.com/users/majelbstoat","html_url":"https://github.com/majelbstoat","followers_url":"https://api.github.com/users/majelbstoat/followers","following_url":"https://api.github.com/users/majelbstoat/following{/other_user}","gists_url":"https://api.github.com/users/majelbstoat/gists{/gist_id}","starred_url":"https://api.github.com/users/majelbstoat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majelbstoat/subscriptions","organizations_url":"https://api.github.com/users/majelbstoat/orgs","repos_url":"https://api.github.com/users/majelbstoat/repos","events_url":"https://api.github.com/users/majelbstoat/events{/privacy}","received_events_url":"https://api.github.com/users/majelbstoat/received_events","type":"User","site_admin":false},"labels":[{"id":187330413,"node_id":"MDU6TGFiZWwxODczMzA0MTM=","url":"https://api.github.com/repos/benmosher/eslint-plugin-import/labels/bug","name":"bug","color":"fc2929","default":true},{"id":187330416,"node_id":"MDU6TGFiZWwxODczMzA0MTY=","url":"https://api.github.com/repos/benmosher/eslint-plugin-import/labels/help%20wanted","name":"help wanted","color":"008672","default":true},{"id":731013531,"node_id":"MDU6TGFiZWw3MzEwMTM1MzE=","url":"https://api.github.com/repos/benmosher/eslint-plugin-import/labels/typescript","name":"typescript","color":"fcce85","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-06-14T23:15:37Z","updated_at":"2019-04-16T21:12:49Z","closed_at":"2019-04-16T21:12:49Z","author_association":"NONE","body":"Opening per @ljharb. A similar issue was reported in https://github.com/benmosher/eslint-plugin-import/issues/726, but this is for Typescript interface imports.\r\n\r\nDefined in react-select:\r\n\r\n```ts\r\nexport interface Option<TValue = OptionValues> { // ... }\r\n```\r\n\r\nImported:\r\n```ts\r\nimport Select, { Option } from 'react-select'\r\n```\r\n\r\nError:\r\n```\r\n[eslint] Option not found in 'react-select' (import/named)\r\n```\r\n\r\nRelevant packages:\r\n```\r\n    \"eslint\": \"4.19.1\",\r\n    \"eslint-plugin-import\": \"2.12.0\",\r\n    \"typescript\": \"2.9.1\",\r\n    \"typescript-eslint-parser\": \"16.0.0\"\r\n```"}}
{"actor":{"display_login":"ljharb"}}