{"action":"created","comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/189776278","pull_request_review_id":122019085,"id":189776278,"diff_hunk":"@@ -0,0 +1,9 @@\n+import * as ps_tree from \"ps-tree\";","path":"types/ps-tree/ps-tree-tests.ts","position":1,"original_position":1,"commit_id":"bf9421504a3f2c2c6cc51e67dbd0c612d2a8384a","original_commit_id":"bf9421504a3f2c2c6cc51e67dbd0c612d2a8384a","user":{"login":"DanielRosenwasser","id":972891,"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},"body":"Since this is a callable entity, it isn't legal in ES2015 to import this with a namespace import like `import * as foo from 'foo'`, so could you please convert this to either\r\n\r\n```ts\r\nimport foo = require('foo')\r\n```\r\n\r\nor the following with `esModuleInterop` turned on\r\n\r\n```ts\r\nimport foo from 'foo';\r\n```","created_at":"2018-05-22T04:43:11Z","updated_at":"2018-05-22T04:43:13Z","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/25896#discussion_r189776278","pull_request_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/25896","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/189776278"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/25896#discussion_r189776278"},"pull_request":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/25896"}}},"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/25896","id":189229888,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/25896","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/25896.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/25896.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/25896","number":25896,"state":"open","locked":false,"title":"Add ps-tree definitions","user":{"login":"alessiopcc","id":16594633,"avatar_url":"https://avatars1.githubusercontent.com/u/16594633?v=4","gravatar_id":"","url":"https://api.github.com/users/alessiopcc","html_url":"https://github.com/alessiopcc","followers_url":"https://api.github.com/users/alessiopcc/followers","following_url":"https://api.github.com/users/alessiopcc/following{/other_user}","gists_url":"https://api.github.com/users/alessiopcc/gists{/gist_id}","starred_url":"https://api.github.com/users/alessiopcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessiopcc/subscriptions","organizations_url":"https://api.github.com/users/alessiopcc/orgs","repos_url":"https://api.github.com/users/alessiopcc/repos","events_url":"https://api.github.com/users/alessiopcc/events{/privacy}","received_events_url":"https://api.github.com/users/alessiopcc/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- [x] Test the change in your own code. (Compile and run.)\r\n- [x] Add or edit tests to reflect the change. (Run with `npm test`.)\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 already provide its own types, or cannot have its `.d.ts` files generated via `--declaration`\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- [x] `tslint.json` should be present, and `tsconfig.json` should have `noImplicitAny`, `noImplicitThis`, `strictNullChecks`, and `strictFunctionTypes` set to `true`.\r\n","created_at":"2018-05-20T11:30:44Z","updated_at":"2018-05-22T04:43:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"829272d25a2cdf73675ee9a3c3062f6946c0ebc0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":397523192,"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels/Awaiting%20reviewer%20feedback","name":"Awaiting reviewer feedback","color":"0052cc","default":false},{"id":646788888,"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels/New%20Definition","name":"New Definition","color":"4eca56","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/25896/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/25896/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/25896/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/bf9421504a3f2c2c6cc51e67dbd0c612d2a8384a","head":{"label":"alessiopcc:ps-tree","ref":"ps-tree","sha":"bf9421504a3f2c2c6cc51e67dbd0c612d2a8384a","user":{"login":"alessiopcc","id":16594633,"avatar_url":"https://avatars1.githubusercontent.com/u/16594633?v=4","gravatar_id":"","url":"https://api.github.com/users/alessiopcc","html_url":"https://github.com/alessiopcc","followers_url":"https://api.github.com/users/alessiopcc/followers","following_url":"https://api.github.com/users/alessiopcc/following{/other_user}","gists_url":"https://api.github.com/users/alessiopcc/gists{/gist_id}","starred_url":"https://api.github.com/users/alessiopcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessiopcc/subscriptions","organizations_url":"https://api.github.com/users/alessiopcc/orgs","repos_url":"https://api.github.com/users/alessiopcc/repos","events_url":"https://api.github.com/users/alessiopcc/events{/privacy}","received_events_url":"https://api.github.com/users/alessiopcc/received_events","type":"User","site_admin":false},"repo":{"id":133579855,"name":"DefinitelyTyped","full_name":"alessiopcc/DefinitelyTyped","owner":{"login":"alessiopcc","id":16594633,"avatar_url":"https://avatars1.githubusercontent.com/u/16594633?v=4","gravatar_id":"","url":"https://api.github.com/users/alessiopcc","html_url":"https://github.com/alessiopcc","followers_url":"https://api.github.com/users/alessiopcc/followers","following_url":"https://api.github.com/users/alessiopcc/following{/other_user}","gists_url":"https://api.github.com/users/alessiopcc/gists{/gist_id}","starred_url":"https://api.github.com/users/alessiopcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessiopcc/subscriptions","organizations_url":"https://api.github.com/users/alessiopcc/orgs","repos_url":"https://api.github.com/users/alessiopcc/repos","events_url":"https://api.github.com/users/alessiopcc/events{/privacy}","received_events_url":"https://api.github.com/users/alessiopcc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alessiopcc/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped","forks_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/alessiopcc/DefinitelyTyped/deployments","created_at":"2018-05-15T22:26:24Z","updated_at":"2018-05-15T22:26:50Z","pushed_at":"2018-05-20T11:24:34Z","git_url":"git://github.com/alessiopcc/DefinitelyTyped.git","ssh_url":"git@github.com:alessiopcc/DefinitelyTyped.git","clone_url":"https://github.com/alessiopcc/DefinitelyTyped.git","svn_url":"https://github.com/alessiopcc/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":315892,"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":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DefinitelyTyped:master","ref":"master","sha":"7983861f3e1490554354c47a01f36063eb2f2722","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":"2018-05-22T02:49:46Z","pushed_at":"2018-05-22T04:42:47Z","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":316748,"stargazers_count":15610,"watchers_count":15610,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13030,"mirror_url":null,"archived":false,"open_issues_count":2169,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":13030,"open_issues":2169,"watchers":15610,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/25896"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/25896"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/25896"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/25896/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/25896/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/25896/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/bf9421504a3f2c2c6cc51e67dbd0c612d2a8384a"}},"author_association":"NONE"}}
{"actor":{"display_login":"DanielRosenwasser"}}