{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/50455540","id":50455540,"diff_hunk":"@@ -7063,6 +7269,13 @@ namespace ts {\n                 return container.flags & NodeFlags.Static ? getTypeOfSymbol(symbol) : (<InterfaceType>getDeclaredTypeOfSymbol(symbol)).thisType;\r\n             }\r\n \r\n+            if (container.parserContextFlags & ParserContextFlags.JavaScriptFile) {\r","path":"src/compiler/checker.ts","position":392,"original_position":392,"commit_id":"120fa190d22fda462df989ce04268c67c0523305","original_commit_id":"120fa190d22fda462df989ce04268c67c0523305","user":{"login":"ahejlsberg","id":4226954,"avatar_url":"https://avatars.githubusercontent.com/u/4226954?v=3","gravatar_id":"","url":"https://api.github.com/users/ahejlsberg","html_url":"https://github.com/ahejlsberg","followers_url":"https://api.github.com/users/ahejlsberg/followers","following_url":"https://api.github.com/users/ahejlsberg/following{/other_user}","gists_url":"https://api.github.com/users/ahejlsberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ahejlsberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahejlsberg/subscriptions","organizations_url":"https://api.github.com/users/ahejlsberg/orgs","repos_url":"https://api.github.com/users/ahejlsberg/repos","events_url":"https://api.github.com/users/ahejlsberg/events{/privacy}","received_events_url":"https://api.github.com/users/ahejlsberg/received_events","type":"User","site_admin":false},"body":"This `if` and the following `if` should both be in a single `if (isInJavaScriptFile(node))`.","created_at":"2016-01-21T20:06:10Z","updated_at":"2016-01-21T20:06:10Z","html_url":"https://github.com/Microsoft/TypeScript/pull/6024#discussion_r50455540","pull_request_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/6024","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/50455540"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/6024#discussion_r50455540"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/6024"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/6024","id":53197633,"html_url":"https://github.com/Microsoft/TypeScript/pull/6024","diff_url":"https://github.com/Microsoft/TypeScript/pull/6024.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/6024.patch","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6024","number":6024,"state":"open","locked":false,"title":"JSDoc support","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},"body":"Adds support for adding type information in JavaScript files using jsdoc tags","created_at":"2015-12-10T00:03:43Z","updated_at":"2016-01-21T20:06:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"accdcc4a822bd6d0904612326ab57dbbfe88bf6a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/6024/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/6024/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6024/comments","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/120fa190d22fda462df989ce04268c67c0523305","head":{"label":"RyanCavanaugh:jsDoc2","ref":"jsDoc2","sha":"120fa190d22fda462df989ce04268c67c0523305","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},"repo":{"id":34357954,"name":"TypeScript","full_name":"RyanCavanaugh/TypeScript","owner":{"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},"private":false,"html_url":"https://github.com/RyanCavanaugh/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":true,"url":"https://api.github.com/repos/RyanCavanaugh/TypeScript","forks_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/forks","keys_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/teams","hooks_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/events","assignees_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/tags","blobs_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/languages","stargazers_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/subscription","commits_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/merges","archive_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/downloads","issues_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/RyanCavanaugh/TypeScript/releases{/id}","created_at":"2015-04-21T23:41:09Z","updated_at":"2016-01-19T21:37:12Z","pushed_at":"2016-01-19T22:46:52Z","git_url":"git://github.com/RyanCavanaugh/TypeScript.git","ssh_url":"git@github.com:RyanCavanaugh/TypeScript.git","clone_url":"https://github.com/RyanCavanaugh/TypeScript.git","svn_url":"https://github.com/RyanCavanaugh/TypeScript","homepage":"http://www.typescriptlang.org","size":222863,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"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":"Microsoft:master","ref":"master","sha":"d267d645d2a1f89c01fa4bc3f3f59258e32b0643","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","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,"name":"TypeScript","full_name":"Microsoft/TypeScript","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","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}","created_at":"2014-06-17T15:28:39Z","updated_at":"2016-01-21T18:14:25Z","pushed_at":"2016-01-21T18:41:44Z","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":466305,"stargazers_count":8879,"watchers_count":8879,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1068,"mirror_url":null,"open_issues_count":932,"forks":1068,"open_issues":932,"watchers":8879,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/6024"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/6024"},"issue":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/6024"},"comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/6024/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/6024/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/6024/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TypeScript/statuses/120fa190d22fda462df989ce04268c67c0523305"}}}}