{"action":"created","issue":{"url":"https://api.github.com/repos/avajs/ava/issues/884","repository_url":"https://api.github.com/repos/avajs/ava","labels_url":"https://api.github.com/repos/avajs/ava/issues/884/labels{/name}","comments_url":"https://api.github.com/repos/avajs/ava/issues/884/comments","events_url":"https://api.github.com/repos/avajs/ava/issues/884/events","html_url":"https://github.com/avajs/ava/pull/884","id":157269315,"number":884,"title":"Auto generate TypeScript definition to allow chaining","user":{"login":"ivogabe","id":4706418,"avatar_url":"https://avatars.githubusercontent.com/u/4706418?v=3","gravatar_id":"","url":"https://api.github.com/users/ivogabe","html_url":"https://github.com/ivogabe","followers_url":"https://api.github.com/users/ivogabe/followers","following_url":"https://api.github.com/users/ivogabe/following{/other_user}","gists_url":"https://api.github.com/users/ivogabe/gists{/gist_id}","starred_url":"https://api.github.com/users/ivogabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivogabe/subscriptions","organizations_url":"https://api.github.com/users/ivogabe/orgs","repos_url":"https://api.github.com/users/ivogabe/repos","events_url":"https://api.github.com/users/ivogabe/events{/privacy}","received_events_url":"https://api.github.com/users/ivogabe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-05-27T18:52:18Z","updated_at":"2016-06-29T20:47:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/avajs/ava/pulls/884","html_url":"https://github.com/avajs/ava/pull/884","diff_url":"https://github.com/avajs/ava/pull/884.diff","patch_url":"https://github.com/avajs/ava/pull/884.patch"},"body":"I've implemented a generator that will create the TS definitions, with full support for chaining. Writing these type definitions by hand would be a lot of work or inaccurate. See the first comment in `types/generator.js` for details on how these definitions are created.\r\n\r\nFixes #871. Tests for this would be useful too, see #870.\r\n\r\n@jamestalmage @SamVerschueren What do you think?"},"comment":{"url":"https://api.github.com/repos/avajs/ava/issues/comments/229483470","html_url":"https://github.com/avajs/ava/pull/884#issuecomment-229483470","issue_url":"https://api.github.com/repos/avajs/ava/issues/884","id":229483470,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T20:47:15Z","updated_at":"2016-06-29T20:47:15Z","body":"@ivogabe ping :) => https://github.com/avajs/ava/pull/884#discussion_r67598376"}}
{"actor":{"display_login":"sindresorhus"}}