{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/39785","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/39785/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/39785/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/39785/events","html_url":"https://github.com/Microsoft/vscode/issues/39785","id":279737193,"number":39785,"title":"Import autocomplete suggests not exported types and interfaces","user":{"login":"klis87","id":11601850,"avatar_url":"https://avatars2.githubusercontent.com/u/11601850?v=4","gravatar_id":"","url":"https://api.github.com/users/klis87","html_url":"https://github.com/klis87","followers_url":"https://api.github.com/users/klis87/followers","following_url":"https://api.github.com/users/klis87/following{/other_user}","gists_url":"https://api.github.com/users/klis87/gists{/gist_id}","starred_url":"https://api.github.com/users/klis87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klis87/subscriptions","organizations_url":"https://api.github.com/users/klis87/orgs","repos_url":"https://api.github.com/users/klis87/repos","events_url":"https://api.github.com/users/klis87/events{/privacy}","received_events_url":"https://api.github.com/users/klis87/received_events","type":"User","site_admin":false},"labels":[{"id":291055694,"url":"https://api.github.com/repos/Microsoft/vscode/labels/typescript","name":"typescript","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-12-06T12:35:46Z","updated_at":"2017-12-08T21:49:46Z","closed_at":null,"author_association":"NONE","body":"- VSCode Version: 1.18.1\r\n- OS Version: Linux\r\n\r\nSteps to Reproduce:\r\n1. Install `redux-saga-requests` library with `yarn add redux-saga-requests`\r\n2. Start typing `import {} from 'redux-saga-requests'` and use autocomplete feature between `{}` with `ctrl + space`. You will see types and interfaces not exported in typings TypeScript file.\r\n\r\nFor example, I have a following in my `index.d.ts` file:\r\n```typescript\r\ninterface ActionTypeModifier {\r\n  (actionType: string): string;\r\n}\r\n```\r\nbut I can still see `ActionTypeModifier` hint. The problem is, that autocomplete is polluted with many internal types, which are not part of public API. Is it an expected behavior?\r\n\r\nReproduces without extensions: Yes"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/350380861","html_url":"https://github.com/Microsoft/vscode/issues/39785#issuecomment-350380861","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/39785","id":350380861,"user":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"created_at":"2017-12-08T21:49:46Z","updated_at":"2017-12-08T21:49:46Z","author_association":"CONTRIBUTOR","body":"This issue was moved to Microsoft/TypeScript#20584"}}
{"actor":{"display_login":"mjbvz"}}