{"action":"created","comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/139629128","pull_request_review_id":63586079,"id":139629128,"diff_hunk":"@@ -0,0 +1,72 @@\n+// Modified from WebUSB spec: https://wicg.github.io/webusb/\n+\n+let connectedDevices: USBDevice[] = null;","path":"types/w3c-web-usb/w3c-web-usb-tests.ts","position":3,"original_position":3,"commit_id":"a028b7843a2f5e5dbe4c0e3ee077afe8a20809b9","original_commit_id":"a028b7843a2f5e5dbe4c0e3ee077afe8a20809b9","user":{"login":"kenchris","id":1101339,"avatar_url":"https://avatars1.githubusercontent.com/u/1101339?v=4","gravatar_id":"","url":"https://api.github.com/users/kenchris","html_url":"https://github.com/kenchris","followers_url":"https://api.github.com/users/kenchris/followers","following_url":"https://api.github.com/users/kenchris/following{/other_user}","gists_url":"https://api.github.com/users/kenchris/gists{/gist_id}","starred_url":"https://api.github.com/users/kenchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenchris/subscriptions","organizations_url":"https://api.github.com/users/kenchris/orgs","repos_url":"https://api.github.com/users/kenchris/repos","events_url":"https://api.github.com/users/kenchris/events{/privacy}","received_events_url":"https://api.github.com/users/kenchris/received_events","type":"User","site_admin":false},"body":"Why not\r\n\r\nconst connectedDevices: USBDevice[] = [] ?","created_at":"2017-09-19T08:37:57Z","updated_at":"2017-09-19T08:37:57Z","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19853#discussion_r139629128","pull_request_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/19853","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/139629128"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19853#discussion_r139629128"},"pull_request":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/19853"}}},"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/19853","id":141684444,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19853","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19853.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19853.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/19853","number":19853,"state":"open","locked":false,"title":"Add definitions for W3C Web USB API","user":{"login":"larsgk","id":1014678,"avatar_url":"https://avatars1.githubusercontent.com/u/1014678?v=4","gravatar_id":"","url":"https://api.github.com/users/larsgk","html_url":"https://github.com/larsgk","followers_url":"https://api.github.com/users/larsgk/followers","following_url":"https://api.github.com/users/larsgk/following{/other_user}","gists_url":"https://api.github.com/users/larsgk/gists{/gist_id}","starred_url":"https://api.github.com/users/larsgk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsgk/subscriptions","organizations_url":"https://api.github.com/users/larsgk/orgs","repos_url":"https://api.github.com/users/larsgk/repos","events_url":"https://api.github.com/users/larsgk/events{/privacy}","received_events_url":"https://api.github.com/users/larsgk/received_events","type":"User","site_admin":false},"body":"Please fill in this template.\r\n\r\n- [X] Use a meaningful title for the pull request. Include the name of the package modified.\r\n- [ ] Test the change in your own code. (Compile and run.)\r\n- [X] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).\r\n- [X] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).\r\n- [X] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).\r\n\r\nSelect one of these and delete the others:\r\n\r\nIf adding a new definition:\r\n- [X] The package does not provide its own types, and you can not add them.\r\n- [X] If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.\r\n- [X] Create it with `dts-gen --dt`, not by basing it on an existing project.\r\n- [ ] `tslint.json` should be present, and `tsconfig.json` should have `noImplicitAny`, `noImplicitThis`, and `strictNullChecks` set to `true`.\r\n\r\n","created_at":"2017-09-18T19:29:48Z","updated_at":"2017-09-19T08:37:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d21cb54404efd27922cd0f1dc143838eb44a5d32","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/19853/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/19853/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/19853/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/a028b7843a2f5e5dbe4c0e3ee077afe8a20809b9","head":{"label":"larsgk:master","ref":"master","sha":"a028b7843a2f5e5dbe4c0e3ee077afe8a20809b9","user":{"login":"larsgk","id":1014678,"avatar_url":"https://avatars1.githubusercontent.com/u/1014678?v=4","gravatar_id":"","url":"https://api.github.com/users/larsgk","html_url":"https://github.com/larsgk","followers_url":"https://api.github.com/users/larsgk/followers","following_url":"https://api.github.com/users/larsgk/following{/other_user}","gists_url":"https://api.github.com/users/larsgk/gists{/gist_id}","starred_url":"https://api.github.com/users/larsgk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsgk/subscriptions","organizations_url":"https://api.github.com/users/larsgk/orgs","repos_url":"https://api.github.com/users/larsgk/repos","events_url":"https://api.github.com/users/larsgk/events{/privacy}","received_events_url":"https://api.github.com/users/larsgk/received_events","type":"User","site_admin":false},"repo":{"id":103645050,"name":"DefinitelyTyped","full_name":"larsgk/DefinitelyTyped","owner":{"login":"larsgk","id":1014678,"avatar_url":"https://avatars1.githubusercontent.com/u/1014678?v=4","gravatar_id":"","url":"https://api.github.com/users/larsgk","html_url":"https://github.com/larsgk","followers_url":"https://api.github.com/users/larsgk/followers","following_url":"https://api.github.com/users/larsgk/following{/other_user}","gists_url":"https://api.github.com/users/larsgk/gists{/gist_id}","starred_url":"https://api.github.com/users/larsgk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsgk/subscriptions","organizations_url":"https://api.github.com/users/larsgk/orgs","repos_url":"https://api.github.com/users/larsgk/repos","events_url":"https://api.github.com/users/larsgk/events{/privacy}","received_events_url":"https://api.github.com/users/larsgk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/larsgk/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/larsgk/DefinitelyTyped","forks_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/larsgk/DefinitelyTyped/deployments","created_at":"2017-09-15T10:27:20Z","updated_at":"2017-09-15T10:27:38Z","pushed_at":"2017-09-18T19:15:43Z","git_url":"git://github.com/larsgk/DefinitelyTyped.git","ssh_url":"git@github.com:larsgk/DefinitelyTyped.git","clone_url":"https://github.com/larsgk/DefinitelyTyped.git","svn_url":"https://github.com/larsgk/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":237701,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DefinitelyTyped:master","ref":"master","sha":"22721ffe2ef48f280b52ea06cd5485fff7baa1e2","user":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars1.githubusercontent.com/u/3637556?v=4","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://avatars1.githubusercontent.com/u/3637556?v=4","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":"2017-09-19T08:11:18Z","pushed_at":"2017-09-19T08:29:26Z","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":238330,"stargazers_count":12229,"watchers_count":12229,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10213,"mirror_url":null,"open_issues_count":1786,"forks":10213,"open_issues":1786,"watchers":12229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/19853"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19853"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/19853"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/19853/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/19853/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/19853/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/a028b7843a2f5e5dbe4c0e3ee077afe8a20809b9"}},"author_association":"NONE"}}
{"actor":{"display_login":"kenchris"}}