{"action":"created","comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/92659180","pull_request_review_id":13179185,"id":92659180,"diff_hunk":"@@ -396,6 +396,7 @@ declare namespace NodeJS {\n         platform: string;\n         mainModule?: NodeModule;\n         memoryUsage(): MemoryUsage;\n+        cpuUsage(previousValue?: [number, number]): [number, number];","path":"node/index.d.ts","position":4,"original_position":4,"commit_id":"64be0771d99be6e661d70645d0bcee027991498f","original_commit_id":"64be0771d99be6e661d70645d0bcee027991498f","user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"body":"from the documentation, this function returns an object and not a tuple. it should be defined as \r\n```ts\r\ncpuUsage(previousValue?: { user: number, system: number }): { user: number, system: number };\r\n```","created_at":"2016-12-15T17:33:40Z","updated_at":"2016-12-15T17:33:43Z","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13358#discussion_r92659180","pull_request_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/13358","_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/92659180"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13358#discussion_r92659180"},"pull_request":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/13358"}}},"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/13358","id":98146711,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13358","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13358.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13358.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/13358","number":13358,"state":"open","locked":false,"title":"add process.cpuUsage() method","user":{"login":"a8775","id":14092227,"avatar_url":"https://avatars.githubusercontent.com/u/14092227?v=3","gravatar_id":"","url":"https://api.github.com/users/a8775","html_url":"https://github.com/a8775","followers_url":"https://api.github.com/users/a8775/followers","following_url":"https://api.github.com/users/a8775/following{/other_user}","gists_url":"https://api.github.com/users/a8775/gists{/gist_id}","starred_url":"https://api.github.com/users/a8775/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a8775/subscriptions","organizations_url":"https://api.github.com/users/a8775/orgs","repos_url":"https://api.github.com/users/a8775/repos","events_url":"https://api.github.com/users/a8775/events{/privacy}","received_events_url":"https://api.github.com/users/a8775/received_events","type":"User","site_admin":false},"body":"As in NodeJS documentation:\r\n[https://nodejs.org/dist/latest-v7.x/docs/api/process.html#process_process_cpuusage_previousvalue](https://nodejs.org/dist/latest-v7.x/docs/api/process.html#process_process_cpuusage_previousvalue)","created_at":"2016-12-15T13:04:10Z","updated_at":"2016-12-15T17:33:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52c8395f77fdf22482a392f4d483fed8b025b417","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/13358/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/13358/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/13358/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/64be0771d99be6e661d70645d0bcee027991498f","head":{"label":"a8775:master","ref":"master","sha":"64be0771d99be6e661d70645d0bcee027991498f","user":{"login":"a8775","id":14092227,"avatar_url":"https://avatars.githubusercontent.com/u/14092227?v=3","gravatar_id":"","url":"https://api.github.com/users/a8775","html_url":"https://github.com/a8775","followers_url":"https://api.github.com/users/a8775/followers","following_url":"https://api.github.com/users/a8775/following{/other_user}","gists_url":"https://api.github.com/users/a8775/gists{/gist_id}","starred_url":"https://api.github.com/users/a8775/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a8775/subscriptions","organizations_url":"https://api.github.com/users/a8775/orgs","repos_url":"https://api.github.com/users/a8775/repos","events_url":"https://api.github.com/users/a8775/events{/privacy}","received_events_url":"https://api.github.com/users/a8775/received_events","type":"User","site_admin":false},"repo":{"id":76558829,"name":"DefinitelyTyped","full_name":"a8775/DefinitelyTyped","owner":{"login":"a8775","id":14092227,"avatar_url":"https://avatars.githubusercontent.com/u/14092227?v=3","gravatar_id":"","url":"https://api.github.com/users/a8775","html_url":"https://github.com/a8775","followers_url":"https://api.github.com/users/a8775/followers","following_url":"https://api.github.com/users/a8775/following{/other_user}","gists_url":"https://api.github.com/users/a8775/gists{/gist_id}","starred_url":"https://api.github.com/users/a8775/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a8775/subscriptions","organizations_url":"https://api.github.com/users/a8775/orgs","repos_url":"https://api.github.com/users/a8775/repos","events_url":"https://api.github.com/users/a8775/events{/privacy}","received_events_url":"https://api.github.com/users/a8775/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/a8775/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/a8775/DefinitelyTyped","forks_url":"https://api.github.com/repos/a8775/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/a8775/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a8775/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a8775/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/a8775/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/a8775/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/a8775/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/a8775/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/a8775/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/a8775/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/a8775/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a8775/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a8775/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/a8775/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a8775/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/a8775/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/a8775/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/a8775/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/a8775/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/a8775/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/a8775/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/a8775/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/a8775/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/a8775/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/a8775/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/a8775/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a8775/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/a8775/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a8775/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/a8775/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/a8775/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/a8775/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/a8775/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a8775/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/a8775/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/a8775/DefinitelyTyped/deployments","created_at":"2016-12-15T12:43:32Z","updated_at":"2016-12-15T12:43:43Z","pushed_at":"2016-12-15T12:53:23Z","git_url":"git://github.com/a8775/DefinitelyTyped.git","ssh_url":"git@github.com:a8775/DefinitelyTyped.git","clone_url":"https://github.com/a8775/DefinitelyTyped.git","svn_url":"https://github.com/a8775/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":162161,"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":"6604ad2a82b30379ec5401f6ec6ef23a234d9843","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-12-15T16:04:28Z","pushed_at":"2016-12-15T16:58:29Z","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":162700,"stargazers_count":9190,"watchers_count":9190,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7359,"mirror_url":null,"open_issues_count":1225,"forks":7359,"open_issues":1225,"watchers":9190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/13358"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/13358"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/13358"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/13358/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/13358/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/13358/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/64be0771d99be6e661d70645d0bcee027991498f"}}}}
{"actor":{"display_login":"mhegazy"}}