{"action":"closed","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/564","repository_url":"https://api.github.com/repos/palantir/tslint","labels_url":"https://api.github.com/repos/palantir/tslint/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/564/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/564/events","html_url":"https://github.com/palantir/tslint/issues/564","id":100440480,"number":564,"title":"Incorrect unreachable code error for type alias after function return","user":{"login":"danquirk","id":7121557,"avatar_url":"https://avatars.githubusercontent.com/u/7121557?v=3","gravatar_id":"","url":"https://api.github.com/users/danquirk","html_url":"https://github.com/danquirk","followers_url":"https://api.github.com/users/danquirk/followers","following_url":"https://api.github.com/users/danquirk/following{/other_user}","gists_url":"https://api.github.com/users/danquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/danquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danquirk/subscriptions","organizations_url":"https://api.github.com/users/danquirk/orgs","repos_url":"https://api.github.com/users/danquirk/repos","events_url":"https://api.github.com/users/danquirk/events{/privacy}","received_events_url":"https://api.github.com/users/danquirk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/palantir/tslint/labels/P2","name":"P2","color":"bbbbbb"},{"url":"https://api.github.com/repos/palantir/tslint/labels/Status:%20Accepting%20PRs","name":"Status: Accepting PRs","color":"0052cc"},{"url":"https://api.github.com/repos/palantir/tslint/labels/Type:%20Bug","name":"Type: Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/palantir/tslint/milestones/19","html_url":"https://github.com/palantir/tslint/milestones/TSLint%20v3.9","labels_url":"https://api.github.com/repos/palantir/tslint/milestones/19/labels","id":1727663,"number":19,"title":"TSLint v3.9","description":"","creator":{"login":"adidahiya","id":723999,"avatar_url":"https://avatars.githubusercontent.com/u/723999?v=3","gravatar_id":"","url":"https://api.github.com/users/adidahiya","html_url":"https://github.com/adidahiya","followers_url":"https://api.github.com/users/adidahiya/followers","following_url":"https://api.github.com/users/adidahiya/following{/other_user}","gists_url":"https://api.github.com/users/adidahiya/gists{/gist_id}","starred_url":"https://api.github.com/users/adidahiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adidahiya/subscriptions","organizations_url":"https://api.github.com/users/adidahiya/orgs","repos_url":"https://api.github.com/users/adidahiya/repos","events_url":"https://api.github.com/users/adidahiya/events{/privacy}","received_events_url":"https://api.github.com/users/adidahiya/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2016-04-24T21:39:12Z","updated_at":"2016-04-29T21:11:15Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-12T00:24:50Z","updated_at":"2016-04-29T21:11:15Z","closed_at":"2016-04-29T21:11:15Z","body":"```ts\r\nfunction foo() {\r\n  return 1;\r\n  function bar() {}\r\n  type Bar = string;\r\n}\r\n```\r\nReports unreachable code on the type alias. \r\n\r\nUsing tslint v2.5.0-dev.1"}}