{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/delay/pulls/comments/211174939","pull_request_review_id":147540572,"id":211174939,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTE3NDkzOQ==","diff_hunk":"@@ -0,0 +1,33 @@\n+interface ClearablePromise<T> extends Promise<T> {\n+\t/**\n+\t * Clears the delay and settles the promise.\n+\t *\n+\t * @memberof ClearablePromise\n+\t */\n+\tclear(): void;\n+}\n+\n+declare const delay: {\n+\t/**\n+\t * Create a promise which resolves after the specified `milliseconds`.\n+\t * Optionally pass a `value` to resolve.\n+\t *\n+\t * @param {number} milliseconds Milliseconds to delay the promise.\n+\t * @param {T} [value] Value to resolve in the returned promise.\n+\t * @returns {ClearablePromise<T>} a promise which resolves after the specified `milliseconds`\n+\t */\n+\t<T = never>(milliseconds: number, value?: T): ClearablePromise<T>;\n+\n+\t/**\n+\t * Create a promise which rejects after the specified `milliseconds`.\n+\t * Optionally pass a `reason` to reject.\n+\t *\n+\t * @param {number} milliseconds Milliseconds to delay the promise.","path":"index.d.ts","position":25,"original_position":25,"commit_id":"0204f6e740834a4f2d69e247a0fe2f04b8ff1e7a","original_commit_id":"0204f6e740834a4f2d69e247a0fe2f04b8ff1e7a","user":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","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},"body":"Seems it's not: https://github.com/Microsoft/tsdoc","created_at":"2018-08-20T08:15:25Z","updated_at":"2018-08-20T08:15:26Z","html_url":"https://github.com/sindresorhus/delay/pull/31#discussion_r211174939","pull_request_url":"https://api.github.com/repos/sindresorhus/delay/pulls/31","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/delay/pulls/comments/211174939"},"html":{"href":"https://github.com/sindresorhus/delay/pull/31#discussion_r211174939"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/delay/pulls/31"}},"in_reply_to_id":211174247},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/delay/pulls/31","id":207294583,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3Mjk0NTgz","html_url":"https://github.com/sindresorhus/delay/pull/31","diff_url":"https://github.com/sindresorhus/delay/pull/31.diff","patch_url":"https://github.com/sindresorhus/delay/pull/31.patch","issue_url":"https://api.github.com/repos/sindresorhus/delay/issues/31","number":31,"state":"open","locked":false,"title":"Add TypeScript definition","user":{"login":"dmitry-korolev","id":12699282,"node_id":"MDQ6VXNlcjEyNjk5Mjgy","avatar_url":"https://avatars1.githubusercontent.com/u/12699282?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitry-korolev","html_url":"https://github.com/dmitry-korolev","followers_url":"https://api.github.com/users/dmitry-korolev/followers","following_url":"https://api.github.com/users/dmitry-korolev/following{/other_user}","gists_url":"https://api.github.com/users/dmitry-korolev/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitry-korolev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitry-korolev/subscriptions","organizations_url":"https://api.github.com/users/dmitry-korolev/orgs","repos_url":"https://api.github.com/users/dmitry-korolev/repos","events_url":"https://api.github.com/users/dmitry-korolev/events{/privacy}","received_events_url":"https://api.github.com/users/dmitry-korolev/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-09T12:09:18Z","updated_at":"2018-08-20T08:15:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b84956c8b0c28ee816298d5024e23563f24b30b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/delay/pulls/31/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/delay/pulls/31/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/delay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/delay/issues/31/comments","statuses_url":"https://api.github.com/repos/sindresorhus/delay/statuses/0204f6e740834a4f2d69e247a0fe2f04b8ff1e7a","head":{"label":"dmitry-korolev:typings","ref":"typings","sha":"0204f6e740834a4f2d69e247a0fe2f04b8ff1e7a","user":{"login":"dmitry-korolev","id":12699282,"node_id":"MDQ6VXNlcjEyNjk5Mjgy","avatar_url":"https://avatars1.githubusercontent.com/u/12699282?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitry-korolev","html_url":"https://github.com/dmitry-korolev","followers_url":"https://api.github.com/users/dmitry-korolev/followers","following_url":"https://api.github.com/users/dmitry-korolev/following{/other_user}","gists_url":"https://api.github.com/users/dmitry-korolev/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitry-korolev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitry-korolev/subscriptions","organizations_url":"https://api.github.com/users/dmitry-korolev/orgs","repos_url":"https://api.github.com/users/dmitry-korolev/repos","events_url":"https://api.github.com/users/dmitry-korolev/events{/privacy}","received_events_url":"https://api.github.com/users/dmitry-korolev/received_events","type":"User","site_admin":false},"repo":{"id":144145970,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxNDU5NzA=","name":"delay","full_name":"dmitry-korolev/delay","owner":{"login":"dmitry-korolev","id":12699282,"node_id":"MDQ6VXNlcjEyNjk5Mjgy","avatar_url":"https://avatars1.githubusercontent.com/u/12699282?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitry-korolev","html_url":"https://github.com/dmitry-korolev","followers_url":"https://api.github.com/users/dmitry-korolev/followers","following_url":"https://api.github.com/users/dmitry-korolev/following{/other_user}","gists_url":"https://api.github.com/users/dmitry-korolev/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitry-korolev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitry-korolev/subscriptions","organizations_url":"https://api.github.com/users/dmitry-korolev/orgs","repos_url":"https://api.github.com/users/dmitry-korolev/repos","events_url":"https://api.github.com/users/dmitry-korolev/events{/privacy}","received_events_url":"https://api.github.com/users/dmitry-korolev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmitry-korolev/delay","description":"Delay a promise a specified amount of time","fork":true,"url":"https://api.github.com/repos/dmitry-korolev/delay","forks_url":"https://api.github.com/repos/dmitry-korolev/delay/forks","keys_url":"https://api.github.com/repos/dmitry-korolev/delay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmitry-korolev/delay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmitry-korolev/delay/teams","hooks_url":"https://api.github.com/repos/dmitry-korolev/delay/hooks","issue_events_url":"https://api.github.com/repos/dmitry-korolev/delay/issues/events{/number}","events_url":"https://api.github.com/repos/dmitry-korolev/delay/events","assignees_url":"https://api.github.com/repos/dmitry-korolev/delay/assignees{/user}","branches_url":"https://api.github.com/repos/dmitry-korolev/delay/branches{/branch}","tags_url":"https://api.github.com/repos/dmitry-korolev/delay/tags","blobs_url":"https://api.github.com/repos/dmitry-korolev/delay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmitry-korolev/delay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmitry-korolev/delay/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmitry-korolev/delay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmitry-korolev/delay/statuses/{sha}","languages_url":"https://api.github.com/repos/dmitry-korolev/delay/languages","stargazers_url":"https://api.github.com/repos/dmitry-korolev/delay/stargazers","contributors_url":"https://api.github.com/repos/dmitry-korolev/delay/contributors","subscribers_url":"https://api.github.com/repos/dmitry-korolev/delay/subscribers","subscription_url":"https://api.github.com/repos/dmitry-korolev/delay/subscription","commits_url":"https://api.github.com/repos/dmitry-korolev/delay/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmitry-korolev/delay/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmitry-korolev/delay/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmitry-korolev/delay/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmitry-korolev/delay/contents/{+path}","compare_url":"https://api.github.com/repos/dmitry-korolev/delay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmitry-korolev/delay/merges","archive_url":"https://api.github.com/repos/dmitry-korolev/delay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmitry-korolev/delay/downloads","issues_url":"https://api.github.com/repos/dmitry-korolev/delay/issues{/number}","pulls_url":"https://api.github.com/repos/dmitry-korolev/delay/pulls{/number}","milestones_url":"https://api.github.com/repos/dmitry-korolev/delay/milestones{/number}","notifications_url":"https://api.github.com/repos/dmitry-korolev/delay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmitry-korolev/delay/labels{/name}","releases_url":"https://api.github.com/repos/dmitry-korolev/delay/releases{/id}","deployments_url":"https://api.github.com/repos/dmitry-korolev/delay/deployments","created_at":"2018-08-09T11:52:49Z","updated_at":"2018-08-09T11:52:51Z","pushed_at":"2018-08-20T07:49:27Z","git_url":"git://github.com/dmitry-korolev/delay.git","ssh_url":"git@github.com:dmitry-korolev/delay.git","clone_url":"https://github.com/dmitry-korolev/delay.git","svn_url":"https://github.com/dmitry-korolev/delay","homepage":null,"size":25,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"2e202e5c78afbbe7e3009a765d260bcdbb219256","user":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","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},"repo":{"id":46072466,"node_id":"MDEwOlJlcG9zaXRvcnk0NjA3MjQ2Ng==","name":"delay","full_name":"sindresorhus/delay","owner":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","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},"private":false,"html_url":"https://github.com/sindresorhus/delay","description":"Delay a promise a specified amount of time","fork":false,"url":"https://api.github.com/repos/sindresorhus/delay","forks_url":"https://api.github.com/repos/sindresorhus/delay/forks","keys_url":"https://api.github.com/repos/sindresorhus/delay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/delay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/delay/teams","hooks_url":"https://api.github.com/repos/sindresorhus/delay/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/delay/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/delay/events","assignees_url":"https://api.github.com/repos/sindresorhus/delay/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/delay/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/delay/tags","blobs_url":"https://api.github.com/repos/sindresorhus/delay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/delay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/delay/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/delay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/delay/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/delay/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/delay/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/delay/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/delay/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/delay/subscription","commits_url":"https://api.github.com/repos/sindresorhus/delay/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/delay/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/delay/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/delay/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/delay/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/delay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/delay/merges","archive_url":"https://api.github.com/repos/sindresorhus/delay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/delay/downloads","issues_url":"https://api.github.com/repos/sindresorhus/delay/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/delay/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/delay/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/delay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/delay/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/delay/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/delay/deployments","created_at":"2015-11-12T18:31:41Z","updated_at":"2018-08-18T12:30:23Z","pushed_at":"2018-08-20T07:49:28Z","git_url":"git://github.com/sindresorhus/delay.git","ssh_url":"git@github.com:sindresorhus/delay.git","clone_url":"https://github.com/sindresorhus/delay.git","svn_url":"https://github.com/sindresorhus/delay","homepage":null,"size":25,"stargazers_count":251,"watchers_count":251,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21,"open_issues":2,"watchers":251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/delay/pulls/31"},"html":{"href":"https://github.com/sindresorhus/delay/pull/31"},"issue":{"href":"https://api.github.com/repos/sindresorhus/delay/issues/31"},"comments":{"href":"https://api.github.com/repos/sindresorhus/delay/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/delay/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/delay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/delay/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/delay/statuses/0204f6e740834a4f2d69e247a0fe2f04b8ff1e7a"}},"author_association":"NONE"}}
{"actor":{"display_login":"sindresorhus"}}