{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2283","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2283/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2283/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2283/events","html_url":"https://github.com/Microsoft/TypeScript/pull/2283","id":60444379,"number":2283,"title":"Disallow line terminator after arrow function parameters, before =>","user":{"login":"caitp","id":2294695,"avatar_url":"https://avatars.githubusercontent.com/u/2294695?v=3","gravatar_id":"","url":"https://api.github.com/users/caitp","html_url":"https://github.com/caitp","followers_url":"https://api.github.com/users/caitp/followers","following_url":"https://api.github.com/users/caitp/following{/other_user}","gists_url":"https://api.github.com/users/caitp/gists{/gist_id}","starred_url":"https://api.github.com/users/caitp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caitp/subscriptions","organizations_url":"https://api.github.com/users/caitp/orgs","repos_url":"https://api.github.com/users/caitp/repos","events_url":"https://api.github.com/users/caitp/events{/privacy}","received_events_url":"https://api.github.com/users/caitp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/cla-not-required","name":"cla-not-required","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-03-10T03:05:19Z","updated_at":"2015-03-13T05:29:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/2283","html_url":"https://github.com/Microsoft/TypeScript/pull/2283","diff_url":"https://github.com/Microsoft/TypeScript/pull/2283.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/2283.patch"},"body":"Closes #2282"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/78811303","html_url":"https://github.com/Microsoft/TypeScript/pull/2283#issuecomment-78811303","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2283","id":78811303,"user":{"login":"caitp","id":2294695,"avatar_url":"https://avatars.githubusercontent.com/u/2294695?v=3","gravatar_id":"","url":"https://api.github.com/users/caitp","html_url":"https://github.com/caitp","followers_url":"https://api.github.com/users/caitp/followers","following_url":"https://api.github.com/users/caitp/following{/other_user}","gists_url":"https://api.github.com/users/caitp/gists{/gist_id}","starred_url":"https://api.github.com/users/caitp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caitp/subscriptions","organizations_url":"https://api.github.com/users/caitp/orgs","repos_url":"https://api.github.com/users/caitp/repos","events_url":"https://api.github.com/users/caitp/events{/privacy}","received_events_url":"https://api.github.com/users/caitp/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T05:29:10Z","updated_at":"2015-03-13T05:29:10Z","body":"you're right, I didn't consider the case with a type annotation for the return value at all (although I think the second case __should__ have worked, since I was using the \"end\" position for the parameters).\r\n\r\nAnyways, yeah, the suggested fix solves that, and the extra tests with return value types are good."}}