{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/207667275","pull_request_review_id":143332527,"id":207667275,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzY2NzI3NQ==","diff_hunk":"@@ -109,7 +113,63 @@ namespace ts {\n         }\r\n     }\r\n \r\n+    function addConvertToAsyncFunctionDiagnostics(node: FunctionLikeDeclaration, checker: TypeChecker, diags: DiagnosticWithLocation[]): void {\r\n+\r\n+        const functionType = checker.getTypeAtLocation(node);\r\n+        if (isAsyncFunction(node) || !node.body || !functionType) {\r\n+            return;\r\n+        }\r\n+\r\n+        const callSignatures = checker.getSignaturesOfType(functionType, SignatureKind.Call);\r\n+        const returnType = callSignatures.length ? checker.getReturnTypeOfSignature(callSignatures[0]) : undefined;\r\n+\r\n+        if (!returnType || !checker.getPromisedTypeOfPromise(returnType)) {\r\n+            return;\r\n+        }\r\n+\r\n+        // collect all the return statements\r\n+        // check that a property access expression exists in there and that it is a handler\r\n+        const returnStatements = getReturnStatementsWithPromiseCallbacks(node);\r\n+        if (returnStatements.length > 0) {\r\n+            diags.push(createDiagnosticForNode(isVariableDeclaration(node.parent) ? node.parent.name : node, Diagnostics.This_may_be_converted_to_an_async_function));\r\n+        }\r\n+    }\r\n+\r\n     function getErrorNodeFromCommonJsIndicator(commonJsModuleIndicator: Node): Node {\r\n         return isBinaryExpression(commonJsModuleIndicator) ? commonJsModuleIndicator.left : commonJsModuleIndicator;\r\n     }\r\n+\r\n+    export function getReturnStatementsWithPromiseCallbacks(node: Node): Node[] {\r\n+        const returnStatements: Node[] = [];\r\n+        if (isFunctionLike(node)) {\r\n+            forEachChild(node, visit); \r\n+        }\r\n+        else {\r\n+            visit(node);\r\n+        }\r\n+\r\n+        function visit(child: Node) {\r\n+            if (isFunctionLike(child)) {\r\n+                return;\r\n+            }\r\n+\r\n+            if (isReturnStatement(child)) {\r\n+                forEachChild(child, hasCallback);\r","path":"src/services/suggestionDiagnostics.ts","position":64,"original_position":63,"commit_id":"60ababa4c2cb1df2adb653df745944a363e0a2f1","original_commit_id":"9e548a0fdbc37d512430a08ad066edd8dda3d4e8","user":{"login":"amcasey","id":10508071,"node_id":"MDQ6VXNlcjEwNTA4MDcx","avatar_url":"https://avatars2.githubusercontent.com/u/10508071?v=4","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"body":"Should there be a `skipParentheses` call in there somewhere?","created_at":"2018-08-03T21:04:25Z","updated_at":"2018-08-03T21:18:26Z","html_url":"https://github.com/Microsoft/TypeScript/pull/24939#discussion_r207667275","pull_request_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/24939","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/207667275"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/24939#discussion_r207667275"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/24939"}},"in_reply_to_id":206666589},"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/24939","id":194739428,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NzM5NDI4","html_url":"https://github.com/Microsoft/TypeScript/pull/24939","diff_url":"https://github.com/Microsoft/TypeScript/pull/24939.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/24939.patch","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/24939","number":24939,"state":"open","locked":false,"title":"[WIP] Promises to Async Await Code Fix ","user":{"login":"elizabethdinella","id":8715900,"node_id":"MDQ6VXNlcjg3MTU5MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/8715900?v=4","gravatar_id":"","url":"https://api.github.com/users/elizabethdinella","html_url":"https://github.com/elizabethdinella","followers_url":"https://api.github.com/users/elizabethdinella/followers","following_url":"https://api.github.com/users/elizabethdinella/following{/other_user}","gists_url":"https://api.github.com/users/elizabethdinella/gists{/gist_id}","starred_url":"https://api.github.com/users/elizabethdinella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elizabethdinella/subscriptions","organizations_url":"https://api.github.com/users/elizabethdinella/orgs","repos_url":"https://api.github.com/users/elizabethdinella/repos","events_url":"https://api.github.com/users/elizabethdinella/events{/privacy}","received_events_url":"https://api.github.com/users/elizabethdinella/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for submitting a pull request!\r\n\r\nHere's a checklist you might find useful.\r\n* [ ] There is an associated issue that is labeled\r\n  'Bug' or 'help wanted' or is in the Community milestone\r\n* [ ] Code is up-to-date with the `master` branch\r\n* [ ] You've successfully run `jake runtests` locally\r\n* [ ] You've signed the CLA\r\n* [ ] There are new or updated unit tests validating the change\r\n\r\nRefer to CONTRIBUTING.MD for more details.\r\n  https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\nFixes #\r\n\r\n","created_at":"2018-06-13T23:06:38Z","updated_at":"2018-08-03T21:18:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d7719546761e36efa74da4f28272f6f25f0e905","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sandersn","id":293473,"node_id":"MDQ6VXNlcjI5MzQ3Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/293473?v=4","gravatar_id":"","url":"https://api.github.com/users/sandersn","html_url":"https://github.com/sandersn","followers_url":"https://api.github.com/users/sandersn/followers","following_url":"https://api.github.com/users/sandersn/following{/other_user}","gists_url":"https://api.github.com/users/sandersn/gists{/gist_id}","starred_url":"https://api.github.com/users/sandersn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandersn/subscriptions","organizations_url":"https://api.github.com/users/sandersn/orgs","repos_url":"https://api.github.com/users/sandersn/repos","events_url":"https://api.github.com/users/sandersn/events{/privacy}","received_events_url":"https://api.github.com/users/sandersn/received_events","type":"User","site_admin":false},{"login":"DanielRosenwasser","id":972891,"node_id":"MDQ6VXNlcjk3Mjg5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/972891?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},{"login":"billti","id":993909,"node_id":"MDQ6VXNlcjk5MzkwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/993909?v=4","gravatar_id":"","url":"https://api.github.com/users/billti","html_url":"https://github.com/billti","followers_url":"https://api.github.com/users/billti/followers","following_url":"https://api.github.com/users/billti/following{/other_user}","gists_url":"https://api.github.com/users/billti/gists{/gist_id}","starred_url":"https://api.github.com/users/billti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billti/subscriptions","organizations_url":"https://api.github.com/users/billti/orgs","repos_url":"https://api.github.com/users/billti/repos","events_url":"https://api.github.com/users/billti/events{/privacy}","received_events_url":"https://api.github.com/users/billti/received_events","type":"User","site_admin":false},{"login":"weswigham","id":2932786,"node_id":"MDQ6VXNlcjI5MzI3ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/2932786?v=4","gravatar_id":"","url":"https://api.github.com/users/weswigham","html_url":"https://github.com/weswigham","followers_url":"https://api.github.com/users/weswigham/followers","following_url":"https://api.github.com/users/weswigham/following{/other_user}","gists_url":"https://api.github.com/users/weswigham/gists{/gist_id}","starred_url":"https://api.github.com/users/weswigham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswigham/subscriptions","organizations_url":"https://api.github.com/users/weswigham/orgs","repos_url":"https://api.github.com/users/weswigham/repos","events_url":"https://api.github.com/users/weswigham/events{/privacy}","received_events_url":"https://api.github.com/users/weswigham/received_events","type":"User","site_admin":false},{"login":"rbuckton","id":3902892,"node_id":"MDQ6VXNlcjM5MDI4OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/3902892?v=4","gravatar_id":"","url":"https://api.github.com/users/rbuckton","html_url":"https://github.com/rbuckton","followers_url":"https://api.github.com/users/rbuckton/followers","following_url":"https://api.github.com/users/rbuckton/following{/other_user}","gists_url":"https://api.github.com/users/rbuckton/gists{/gist_id}","starred_url":"https://api.github.com/users/rbuckton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbuckton/subscriptions","organizations_url":"https://api.github.com/users/rbuckton/orgs","repos_url":"https://api.github.com/users/rbuckton/repos","events_url":"https://api.github.com/users/rbuckton/events{/privacy}","received_events_url":"https://api.github.com/users/rbuckton/received_events","type":"User","site_admin":false},{"login":"armanio123","id":13305542,"node_id":"MDQ6VXNlcjEzMzA1NTQy","avatar_url":"https://avatars0.githubusercontent.com/u/13305542?v=4","gravatar_id":"","url":"https://api.github.com/users/armanio123","html_url":"https://github.com/armanio123","followers_url":"https://api.github.com/users/armanio123/followers","following_url":"https://api.github.com/users/armanio123/following{/other_user}","gists_url":"https://api.github.com/users/armanio123/gists{/gist_id}","starred_url":"https://api.github.com/users/armanio123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armanio123/subscriptions","organizations_url":"https://api.github.com/users/armanio123/orgs","repos_url":"https://api.github.com/users/armanio123/repos","events_url":"https://api.github.com/users/armanio123/events{/privacy}","received_events_url":"https://api.github.com/users/armanio123/received_events","type":"User","site_admin":false},{"login":"minestarks","id":16928427,"node_id":"MDQ6VXNlcjE2OTI4NDI3","avatar_url":"https://avatars1.githubusercontent.com/u/16928427?v=4","gravatar_id":"","url":"https://api.github.com/users/minestarks","html_url":"https://github.com/minestarks","followers_url":"https://api.github.com/users/minestarks/followers","following_url":"https://api.github.com/users/minestarks/following{/other_user}","gists_url":"https://api.github.com/users/minestarks/gists{/gist_id}","starred_url":"https://api.github.com/users/minestarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minestarks/subscriptions","organizations_url":"https://api.github.com/users/minestarks/orgs","repos_url":"https://api.github.com/users/minestarks/repos","events_url":"https://api.github.com/users/minestarks/events{/privacy}","received_events_url":"https://api.github.com/users/minestarks/received_events","type":"User","site_admin":false},{"login":"andy-ms","id":19274678,"node_id":"MDQ6VXNlcjE5Mjc0Njc4","avatar_url":"https://avatars3.githubusercontent.com/u/19274678?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-ms","html_url":"https://github.com/andy-ms","followers_url":"https://api.github.com/users/andy-ms/followers","following_url":"https://api.github.com/users/andy-ms/following{/other_user}","gists_url":"https://api.github.com/users/andy-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-ms/subscriptions","organizations_url":"https://api.github.com/users/andy-ms/orgs","repos_url":"https://api.github.com/users/andy-ms/repos","events_url":"https://api.github.com/users/andy-ms/events{/privacy}","received_events_url":"https://api.github.com/users/andy-ms/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/24939/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/24939/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/24939/comments","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/60ababa4c2cb1df2adb653df745944a363e0a2f1","head":{"label":"elizabethdinella:promisesToAsyncAwaitCodeFix","ref":"promisesToAsyncAwaitCodeFix","sha":"60ababa4c2cb1df2adb653df745944a363e0a2f1","user":{"login":"elizabethdinella","id":8715900,"node_id":"MDQ6VXNlcjg3MTU5MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/8715900?v=4","gravatar_id":"","url":"https://api.github.com/users/elizabethdinella","html_url":"https://github.com/elizabethdinella","followers_url":"https://api.github.com/users/elizabethdinella/followers","following_url":"https://api.github.com/users/elizabethdinella/following{/other_user}","gists_url":"https://api.github.com/users/elizabethdinella/gists{/gist_id}","starred_url":"https://api.github.com/users/elizabethdinella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elizabethdinella/subscriptions","organizations_url":"https://api.github.com/users/elizabethdinella/orgs","repos_url":"https://api.github.com/users/elizabethdinella/repos","events_url":"https://api.github.com/users/elizabethdinella/events{/privacy}","received_events_url":"https://api.github.com/users/elizabethdinella/received_events","type":"User","site_admin":false},"repo":{"id":137280366,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcyODAzNjY=","name":"TypeScript","full_name":"elizabethdinella/TypeScript","owner":{"login":"elizabethdinella","id":8715900,"node_id":"MDQ6VXNlcjg3MTU5MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/8715900?v=4","gravatar_id":"","url":"https://api.github.com/users/elizabethdinella","html_url":"https://github.com/elizabethdinella","followers_url":"https://api.github.com/users/elizabethdinella/followers","following_url":"https://api.github.com/users/elizabethdinella/following{/other_user}","gists_url":"https://api.github.com/users/elizabethdinella/gists{/gist_id}","starred_url":"https://api.github.com/users/elizabethdinella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elizabethdinella/subscriptions","organizations_url":"https://api.github.com/users/elizabethdinella/orgs","repos_url":"https://api.github.com/users/elizabethdinella/repos","events_url":"https://api.github.com/users/elizabethdinella/events{/privacy}","received_events_url":"https://api.github.com/users/elizabethdinella/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elizabethdinella/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":true,"url":"https://api.github.com/repos/elizabethdinella/TypeScript","forks_url":"https://api.github.com/repos/elizabethdinella/TypeScript/forks","keys_url":"https://api.github.com/repos/elizabethdinella/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elizabethdinella/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elizabethdinella/TypeScript/teams","hooks_url":"https://api.github.com/repos/elizabethdinella/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/elizabethdinella/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/elizabethdinella/TypeScript/events","assignees_url":"https://api.github.com/repos/elizabethdinella/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/elizabethdinella/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/elizabethdinella/TypeScript/tags","blobs_url":"https://api.github.com/repos/elizabethdinella/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elizabethdinella/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elizabethdinella/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/elizabethdinella/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elizabethdinella/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/elizabethdinella/TypeScript/languages","stargazers_url":"https://api.github.com/repos/elizabethdinella/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/elizabethdinella/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/elizabethdinella/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/elizabethdinella/TypeScript/subscription","commits_url":"https://api.github.com/repos/elizabethdinella/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/elizabethdinella/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/elizabethdinella/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/elizabethdinella/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/elizabethdinella/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/elizabethdinella/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elizabethdinella/TypeScript/merges","archive_url":"https://api.github.com/repos/elizabethdinella/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elizabethdinella/TypeScript/downloads","issues_url":"https://api.github.com/repos/elizabethdinella/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/elizabethdinella/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/elizabethdinella/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/elizabethdinella/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elizabethdinella/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/elizabethdinella/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/elizabethdinella/TypeScript/deployments","created_at":"2018-06-13T22:58:50Z","updated_at":"2018-06-28T16:45:27Z","pushed_at":"2018-08-03T20:57:26Z","git_url":"git://github.com/elizabethdinella/TypeScript.git","ssh_url":"git@github.com:elizabethdinella/TypeScript.git","clone_url":"https://github.com/elizabethdinella/TypeScript.git","svn_url":"https://github.com/elizabethdinella/TypeScript","homepage":"http://www.typescriptlang.org","size":767411,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"3ef067f7d9a042336903b33bc6404cf61390fd55","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":20929025,"node_id":"MDEwOlJlcG9zaXRvcnkyMDkyOTAyNQ==","name":"TypeScript","full_name":"Microsoft/TypeScript","owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":false,"url":"https://api.github.com/repos/Microsoft/TypeScript","forks_url":"https://api.github.com/repos/Microsoft/TypeScript/forks","keys_url":"https://api.github.com/repos/Microsoft/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TypeScript/teams","hooks_url":"https://api.github.com/repos/Microsoft/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TypeScript/events","assignees_url":"https://api.github.com/repos/Microsoft/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TypeScript/tags","blobs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TypeScript/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TypeScript/subscription","commits_url":"https://api.github.com/repos/Microsoft/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TypeScript/merges","archive_url":"https://api.github.com/repos/Microsoft/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TypeScript/downloads","issues_url":"https://api.github.com/repos/Microsoft/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/TypeScript/deployments","created_at":"2014-06-17T15:28:39Z","updated_at":"2018-08-03T20:32:24Z","pushed_at":"2018-08-03T20:57:36Z","git_url":"git://github.com/Microsoft/TypeScript.git","ssh_url":"git@github.com:Microsoft/TypeScript.git","clone_url":"https://github.com/Microsoft/TypeScript.git","svn_url":"https://github.com/Microsoft/TypeScript","homepage":"http://www.typescriptlang.org","size":778311,"stargazers_count":37462,"watchers_count":37462,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5358,"mirror_url":null,"archived":false,"open_issues_count":2758,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":5358,"open_issues":2758,"watchers":37462,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/24939"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/24939"},"issue":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/24939"},"comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/24939/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/24939/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/24939/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TypeScript/statuses/60ababa4c2cb1df2adb653df745944a363e0a2f1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"amcasey"}}