{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/83193952","pull_request_review_id":4051263,"id":83193952,"diff_hunk":"@@ -941,7 +941,17 @@ namespace Harness {\n         }\r\n \r\n         export function getDefaultLibFileName(options: ts.CompilerOptions): string {\r\n-            return options.target === ts.ScriptTarget.ES6 ? es2015DefaultLibFileName : defaultLibFileName;\r\n+            switch (options.target) {\r\n+                case ts.ScriptTarget.ES2017:\r\n+                    return \"lib.es2017.d.ts\";\r\n+                case ts.ScriptTarget.ES2016:\r\n+                    return \"lib.es2016.d.ts\";\r\n+                case ts.ScriptTarget.ES6:\r","path":"src/harness/harness.ts","position":10,"original_position":10,"commit_id":"e60e97f5c9d7a2c21ba36631c17f9278166feeae","original_commit_id":"e60e97f5c9d7a2c21ba36631c17f9278166feeae","user":{"login":"andrejbaran","id":278482,"avatar_url":"https://avatars.githubusercontent.com/u/278482?v=3","gravatar_id":"","url":"https://api.github.com/users/andrejbaran","html_url":"https://github.com/andrejbaran","followers_url":"https://api.github.com/users/andrejbaran/followers","following_url":"https://api.github.com/users/andrejbaran/following{/other_user}","gists_url":"https://api.github.com/users/andrejbaran/gists{/gist_id}","starred_url":"https://api.github.com/users/andrejbaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrejbaran/subscriptions","organizations_url":"https://api.github.com/users/andrejbaran/orgs","repos_url":"https://api.github.com/users/andrejbaran/repos","events_url":"https://api.github.com/users/andrejbaran/events{/privacy}","received_events_url":"https://api.github.com/users/andrejbaran/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-10-13T11:20:56Z","updated_at":"2016-10-13T11:20:56Z","html_url":"https://github.com/Microsoft/TypeScript/pull/11407#discussion_r83193952","pull_request_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11407","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/83193952"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/11407#discussion_r83193952"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11407"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11407","id":88175113,"html_url":"https://github.com/Microsoft/TypeScript/pull/11407","diff_url":"https://github.com/Microsoft/TypeScript/pull/11407.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/11407.patch","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11407","number":11407,"state":"open","locked":false,"title":"Add ES2017 target","user":{"login":"andrejbaran","id":278482,"avatar_url":"https://avatars.githubusercontent.com/u/278482?v=3","gravatar_id":"","url":"https://api.github.com/users/andrejbaran","html_url":"https://github.com/andrejbaran","followers_url":"https://api.github.com/users/andrejbaran/followers","following_url":"https://api.github.com/users/andrejbaran/following{/other_user}","gists_url":"https://api.github.com/users/andrejbaran/gists{/gist_id}","starred_url":"https://api.github.com/users/andrejbaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrejbaran/subscriptions","organizations_url":"https://api.github.com/users/andrejbaran/orgs","repos_url":"https://api.github.com/users/andrejbaran/repos","events_url":"https://api.github.com/users/andrejbaran/events{/privacy}","received_events_url":"https://api.github.com/users/andrejbaran/received_events","type":"User","site_admin":false},"body":"Hi there,\r\nplease consider this as a start for es8/es2017 target. Fixes #10768.\r\n\r\n","created_at":"2016-10-05T23:22:42Z","updated_at":"2016-10-13T11:20:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0b410bcc10ee56ca9899625358348013d3caf0d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11407/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11407/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11407/comments","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/e60e97f5c9d7a2c21ba36631c17f9278166feeae","head":{"label":"andrejbaran:es2017-target","ref":"es2017-target","sha":"e60e97f5c9d7a2c21ba36631c17f9278166feeae","user":{"login":"andrejbaran","id":278482,"avatar_url":"https://avatars.githubusercontent.com/u/278482?v=3","gravatar_id":"","url":"https://api.github.com/users/andrejbaran","html_url":"https://github.com/andrejbaran","followers_url":"https://api.github.com/users/andrejbaran/followers","following_url":"https://api.github.com/users/andrejbaran/following{/other_user}","gists_url":"https://api.github.com/users/andrejbaran/gists{/gist_id}","starred_url":"https://api.github.com/users/andrejbaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrejbaran/subscriptions","organizations_url":"https://api.github.com/users/andrejbaran/orgs","repos_url":"https://api.github.com/users/andrejbaran/repos","events_url":"https://api.github.com/users/andrejbaran/events{/privacy}","received_events_url":"https://api.github.com/users/andrejbaran/received_events","type":"User","site_admin":false},"repo":{"id":70042251,"name":"TypeScript","full_name":"andrejbaran/TypeScript","owner":{"login":"andrejbaran","id":278482,"avatar_url":"https://avatars.githubusercontent.com/u/278482?v=3","gravatar_id":"","url":"https://api.github.com/users/andrejbaran","html_url":"https://github.com/andrejbaran","followers_url":"https://api.github.com/users/andrejbaran/followers","following_url":"https://api.github.com/users/andrejbaran/following{/other_user}","gists_url":"https://api.github.com/users/andrejbaran/gists{/gist_id}","starred_url":"https://api.github.com/users/andrejbaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrejbaran/subscriptions","organizations_url":"https://api.github.com/users/andrejbaran/orgs","repos_url":"https://api.github.com/users/andrejbaran/repos","events_url":"https://api.github.com/users/andrejbaran/events{/privacy}","received_events_url":"https://api.github.com/users/andrejbaran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrejbaran/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":true,"url":"https://api.github.com/repos/andrejbaran/TypeScript","forks_url":"https://api.github.com/repos/andrejbaran/TypeScript/forks","keys_url":"https://api.github.com/repos/andrejbaran/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrejbaran/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrejbaran/TypeScript/teams","hooks_url":"https://api.github.com/repos/andrejbaran/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/andrejbaran/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/andrejbaran/TypeScript/events","assignees_url":"https://api.github.com/repos/andrejbaran/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/andrejbaran/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/andrejbaran/TypeScript/tags","blobs_url":"https://api.github.com/repos/andrejbaran/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrejbaran/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrejbaran/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrejbaran/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrejbaran/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/andrejbaran/TypeScript/languages","stargazers_url":"https://api.github.com/repos/andrejbaran/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/andrejbaran/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/andrejbaran/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/andrejbaran/TypeScript/subscription","commits_url":"https://api.github.com/repos/andrejbaran/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrejbaran/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrejbaran/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrejbaran/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrejbaran/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/andrejbaran/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrejbaran/TypeScript/merges","archive_url":"https://api.github.com/repos/andrejbaran/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrejbaran/TypeScript/downloads","issues_url":"https://api.github.com/repos/andrejbaran/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/andrejbaran/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/andrejbaran/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/andrejbaran/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrejbaran/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/andrejbaran/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/andrejbaran/TypeScript/deployments","created_at":"2016-10-05T08:26:38Z","updated_at":"2016-10-05T08:27:35Z","pushed_at":"2016-10-12T23:04:48Z","git_url":"git://github.com/andrejbaran/TypeScript.git","ssh_url":"git@github.com:andrejbaran/TypeScript.git","clone_url":"https://github.com/andrejbaran/TypeScript.git","svn_url":"https://github.com/andrejbaran/TypeScript","homepage":"http://www.typescriptlang.org","size":303641,"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":"Microsoft:master","ref":"master","sha":"eab3711ed41993f223b1b779931c915d76e1f0ac","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}","deployments_url":"https://api.github.com/repos/Microsoft/TypeScript/deployments","created_at":"2014-06-17T15:28:39Z","updated_at":"2016-10-13T10:19:40Z","pushed_at":"2016-10-13T05:59:17Z","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":589894,"stargazers_count":15772,"watchers_count":15772,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2133,"mirror_url":null,"open_issues_count":1425,"forks":2133,"open_issues":1425,"watchers":15772,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11407"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/11407"},"issue":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/11407"},"comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/11407/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11407/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11407/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TypeScript/statuses/e60e97f5c9d7a2c21ba36631c17f9278166feeae"}}}}
{"actor":{"display_login":"andrejbaran"}}