{"action":"closed","number":9617,"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9617","id":73371596,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9617","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9617.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9617.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/9617","number":9617,"state":"closed","locked":false,"title":"Fixes #9609","user":{"login":"raijinsetsu","id":6809014,"avatar_url":"https://avatars.githubusercontent.com/u/6809014?v=3","gravatar_id":"","url":"https://api.github.com/users/raijinsetsu","html_url":"https://github.com/raijinsetsu","followers_url":"https://api.github.com/users/raijinsetsu/followers","following_url":"https://api.github.com/users/raijinsetsu/following{/other_user}","gists_url":"https://api.github.com/users/raijinsetsu/gists{/gist_id}","starred_url":"https://api.github.com/users/raijinsetsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raijinsetsu/subscriptions","organizations_url":"https://api.github.com/users/raijinsetsu/orgs","repos_url":"https://api.github.com/users/raijinsetsu/repos","events_url":"https://api.github.com/users/raijinsetsu/events{/privacy}","received_events_url":"https://api.github.com/users/raijinsetsu/received_events","type":"User","site_admin":false},"body":"Refactored the definition to work in current versions of TSC.\r\nAlso, the internal types (ie. Lock) are now accessible on the default export allowing other TS code to reference them (ex. \"(lock: Redlock.Lock)\") instead of just using type hinting.","created_at":"2016-06-10T13:15:14Z","updated_at":"2016-06-19T01:21:16Z","closed_at":"2016-06-19T01:21:16Z","merged_at":"2016-06-19T01:21:16Z","merge_commit_sha":"77a07e79372fc789b2bb1d6bba24e110726fbab8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9617/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9617/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/9617/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/586a15bb9381f636d1e77a90dcf84f054bd56f32","head":{"label":"raijinsetsu:redlock-bugfix","ref":"redlock-bugfix","sha":"586a15bb9381f636d1e77a90dcf84f054bd56f32","user":{"login":"raijinsetsu","id":6809014,"avatar_url":"https://avatars.githubusercontent.com/u/6809014?v=3","gravatar_id":"","url":"https://api.github.com/users/raijinsetsu","html_url":"https://github.com/raijinsetsu","followers_url":"https://api.github.com/users/raijinsetsu/followers","following_url":"https://api.github.com/users/raijinsetsu/following{/other_user}","gists_url":"https://api.github.com/users/raijinsetsu/gists{/gist_id}","starred_url":"https://api.github.com/users/raijinsetsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raijinsetsu/subscriptions","organizations_url":"https://api.github.com/users/raijinsetsu/orgs","repos_url":"https://api.github.com/users/raijinsetsu/repos","events_url":"https://api.github.com/users/raijinsetsu/events{/privacy}","received_events_url":"https://api.github.com/users/raijinsetsu/received_events","type":"User","site_admin":false},"repo":{"id":53419955,"name":"DefinitelyTyped","full_name":"raijinsetsu/DefinitelyTyped","owner":{"login":"raijinsetsu","id":6809014,"avatar_url":"https://avatars.githubusercontent.com/u/6809014?v=3","gravatar_id":"","url":"https://api.github.com/users/raijinsetsu","html_url":"https://github.com/raijinsetsu","followers_url":"https://api.github.com/users/raijinsetsu/followers","following_url":"https://api.github.com/users/raijinsetsu/following{/other_user}","gists_url":"https://api.github.com/users/raijinsetsu/gists{/gist_id}","starred_url":"https://api.github.com/users/raijinsetsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raijinsetsu/subscriptions","organizations_url":"https://api.github.com/users/raijinsetsu/orgs","repos_url":"https://api.github.com/users/raijinsetsu/repos","events_url":"https://api.github.com/users/raijinsetsu/events{/privacy}","received_events_url":"https://api.github.com/users/raijinsetsu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raijinsetsu/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped","forks_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/raijinsetsu/DefinitelyTyped/deployments","created_at":"2016-03-08T14:47:27Z","updated_at":"2016-03-08T14:47:33Z","pushed_at":"2016-06-10T13:28:17Z","git_url":"git://github.com/raijinsetsu/DefinitelyTyped.git","ssh_url":"git@github.com:raijinsetsu/DefinitelyTyped.git","clone_url":"https://github.com/raijinsetsu/DefinitelyTyped.git","svn_url":"https://github.com/raijinsetsu/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":104285,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DefinitelyTyped:master","ref":"master","sha":"f481e77dfca5a146db1b4f5f20f15929b30c8729","user":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars.githubusercontent.com/u/3637556?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"repo":{"id":6093316,"name":"DefinitelyTyped","full_name":"DefinitelyTyped/DefinitelyTyped","owner":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars.githubusercontent.com/u/3637556?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","forks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/deployments","created_at":"2012-10-05T16:39:45Z","updated_at":"2016-06-18T23:45:58Z","pushed_at":"2016-06-19T01:21:16Z","git_url":"git://github.com/DefinitelyTyped/DefinitelyTyped.git","ssh_url":"git@github.com:DefinitelyTyped/DefinitelyTyped.git","clone_url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","svn_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":146895,"stargazers_count":7386,"watchers_count":7386,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5419,"mirror_url":null,"open_issues_count":1303,"forks":5419,"open_issues":1303,"watchers":7386,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9617"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9617"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/9617"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/9617/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9617/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9617/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/586a15bb9381f636d1e77a90dcf84f054bd56f32"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vvakame","id":125332,"avatar_url":"https://avatars.githubusercontent.com/u/125332?v=3","gravatar_id":"","url":"https://api.github.com/users/vvakame","html_url":"https://github.com/vvakame","followers_url":"https://api.github.com/users/vvakame/followers","following_url":"https://api.github.com/users/vvakame/following{/other_user}","gists_url":"https://api.github.com/users/vvakame/gists{/gist_id}","starred_url":"https://api.github.com/users/vvakame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvakame/subscriptions","organizations_url":"https://api.github.com/users/vvakame/orgs","repos_url":"https://api.github.com/users/vvakame/repos","events_url":"https://api.github.com/users/vvakame/events{/privacy}","received_events_url":"https://api.github.com/users/vvakame/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":80,"deletions":132,"changed_files":2}}
{"actor":{"display_login":"vvakame"}}