{"action":"closed","issue":{"url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/400","repository_url":"https://api.github.com/repos/eslint/typescript-eslint-parser","labels_url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/400/comments","events_url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/400/events","html_url":"https://github.com/eslint/typescript-eslint-parser/issues/400","id":268180509,"number":400,"title":"array-callback-return TypeError","user":{"login":"pat841","id":3125126,"avatar_url":"https://avatars1.githubusercontent.com/u/3125126?v=4","gravatar_id":"","url":"https://api.github.com/users/pat841","html_url":"https://github.com/pat841","followers_url":"https://api.github.com/users/pat841/followers","following_url":"https://api.github.com/users/pat841/following{/other_user}","gists_url":"https://api.github.com/users/pat841/gists{/gist_id}","starred_url":"https://api.github.com/users/pat841/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pat841/subscriptions","organizations_url":"https://api.github.com/users/pat841/orgs","repos_url":"https://api.github.com/users/pat841/repos","events_url":"https://api.github.com/users/pat841/events{/privacy}","received_events_url":"https://api.github.com/users/pat841/received_events","type":"User","site_admin":false},"labels":[{"id":727402659,"url":"https://api.github.com/repos/eslint/typescript-eslint-parser/labels/AST%20causes%20issues%20with%20ESLint%20rules","name":"AST causes issues with ESLint rules","color":"ef2f1a","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-24T20:48:22Z","updated_at":"2017-12-13T10:46:31Z","closed_at":"2017-12-13T10:46:31Z","author_association":"NONE","body":"**What version of TypeScript are you using?**\r\n2.5.3\r\n\r\n**What version of `typescript-eslint-parser` are you using?**\r\n8.0.1\r\n\r\n**What code were you trying to parse?**\r\n```javascript\r\nexport abstract class TestAbstract {\r\n\r\n  onCreated?(): Promise<void> | any;\r\n\r\n}\r\n```\r\n\r\n**What did you expect to happen?**\r\nESLint shouldnt fail when parsing the file.\r\n\r\n**What happened?**\r\n`TypeError: Cannot read property 'type' of null`\r\n`node_modules/eslint/lib/rules/array-callback-return.js:194:34`\r\n\r\n\r\nIf I add a function body, it works:\r\n```javascript\r\n  onCreated(): Promise<void> | any {\r\n\r\n  }\r\n```"}}
{"actor":{"display_login":"JamesHenry"}}