{"action":"created","issue":{"url":"https://api.github.com/repos/nzakas/eslint-plugin-typescript/issues/110","repository_url":"https://api.github.com/repos/nzakas/eslint-plugin-typescript","labels_url":"https://api.github.com/repos/nzakas/eslint-plugin-typescript/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/nzakas/eslint-plugin-typescript/issues/110/comments","events_url":"https://api.github.com/repos/nzakas/eslint-plugin-typescript/issues/110/events","html_url":"https://github.com/nzakas/eslint-plugin-typescript/issues/110","id":302096069,"number":110,"title":"Confused by no-undef errors on type declarations","user":{"login":"searls","id":79303,"avatar_url":"https://avatars1.githubusercontent.com/u/79303?v=4","gravatar_id":"","url":"https://api.github.com/users/searls","html_url":"https://github.com/searls","followers_url":"https://api.github.com/users/searls/followers","following_url":"https://api.github.com/users/searls/following{/other_user}","gists_url":"https://api.github.com/users/searls/gists{/gist_id}","starred_url":"https://api.github.com/users/searls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/searls/subscriptions","organizations_url":"https://api.github.com/users/searls/orgs","repos_url":"https://api.github.com/users/searls/repos","events_url":"https://api.github.com/users/searls/events{/privacy}","received_events_url":"https://api.github.com/users/searls/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-03-04T15:47:11Z","updated_at":"2018-03-28T04:31:36Z","closed_at":"2018-03-26T13:17:44Z","author_association":"NONE","body":"I'm sure this is me doing it wrong, but I'm a bit confused about how to proceed. I'm invoking this plugin with standard.js via:\r\n\r\n```\r\n$ standard --fix --parser typescript-eslint-parser --plugin typescript \"**/*.ts\"\r\n```\r\n\r\nIf my module looks like this:\r\n\r\n```ts\r\nimport Call from '../value/call'\r\nimport Double from '../value/double'\r\n\r\nexport default interface Demonstration {\r\n  call: Call\r\n  double: Double\r\n}\r\n```\r\n\r\nI get all of these errors:\r\n\r\n```\r\n  /Users/justin/code/testdouble/testdouble.js/src/value/demonstration.ts:4:26: 'Demonstration' is not defined.\r\n  /Users/justin/code/testdouble/testdouble.js/src/value/demonstration.ts:5:3: 'call' is not defined.\r\n  /Users/justin/code/testdouble/testdouble.js/src/value/demonstration.ts:6:3: 'double' is not defined.\r\n```\r\n\r\nI would have figured this plugin's job would be to override the eslint no-undef rule, but to be honest I'm just a bit confused by all the moving parts. Any thoughts would be appreciated."},"comment":{"url":"https://api.github.com/repos/nzakas/eslint-plugin-typescript/issues/comments/376758026","html_url":"https://github.com/nzakas/eslint-plugin-typescript/issues/110#issuecomment-376758026","issue_url":"https://api.github.com/repos/nzakas/eslint-plugin-typescript/issues/110","id":376758026,"user":{"login":"mightyiam","id":635591,"avatar_url":"https://avatars2.githubusercontent.com/u/635591?v=4","gravatar_id":"","url":"https://api.github.com/users/mightyiam","html_url":"https://github.com/mightyiam","followers_url":"https://api.github.com/users/mightyiam/followers","following_url":"https://api.github.com/users/mightyiam/following{/other_user}","gists_url":"https://api.github.com/users/mightyiam/gists{/gist_id}","starred_url":"https://api.github.com/users/mightyiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightyiam/subscriptions","organizations_url":"https://api.github.com/users/mightyiam/orgs","repos_url":"https://api.github.com/users/mightyiam/repos","events_url":"https://api.github.com/users/mightyiam/events{/privacy}","received_events_url":"https://api.github.com/users/mightyiam/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T04:31:36Z","updated_at":"2018-03-28T04:31:36Z","author_association":"CONTRIBUTOR","body":"Does AngularCLI have something like [this](https://github.com/s-panferov/awesome-typescript-loader#errorsaswarnings-boolean) for its TypeScript support?"}}
{"actor":{"display_login":"mightyiam"}}