{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6045","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6045/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6045/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6045/events","html_url":"https://github.com/Microsoft/TypeScript/issues/6045","id":121591073,"number":6045,"title":"Issue a useful error when calling a function with too many arguments","user":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars.githubusercontent.com/u/6685088?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-10T22:26:17Z","updated_at":"2015-12-10T22:47:25Z","closed_at":null,"body":"```ts\r\n'x'.substr(1, 2, 3);\r\n```\r\n\r\nGives you this:\r\n> error TS2346: Supplied parameters do not match any signature of call target\r\n\r\nThis is unhelpful. We should elaborate with an error about arity."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/163776453","html_url":"https://github.com/Microsoft/TypeScript/issues/6045#issuecomment-163776453","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6045","id":163776453,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T22:47:25Z","updated_at":"2015-12-10T22:47:25Z","body":":+1: "}}