{"action":"closed","number":6037,"pull_request":{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/6037","id":46155464,"html_url":"https://github.com/borisyankov/DefinitelyTyped/pull/6037","diff_url":"https://github.com/borisyankov/DefinitelyTyped/pull/6037.diff","patch_url":"https://github.com/borisyankov/DefinitelyTyped/pull/6037.patch","issue_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/6037","number":6037,"state":"closed","locked":false,"title":"Fix to IFilterPredicateFunc<T>","user":{"login":"eugenpodaru","id":1391294,"avatar_url":"https://avatars.githubusercontent.com/u/1391294?v=3","gravatar_id":"","url":"https://api.github.com/users/eugenpodaru","html_url":"https://github.com/eugenpodaru","followers_url":"https://api.github.com/users/eugenpodaru/followers","following_url":"https://api.github.com/users/eugenpodaru/following{/other_user}","gists_url":"https://api.github.com/users/eugenpodaru/gists{/gist_id}","starred_url":"https://api.github.com/users/eugenpodaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugenpodaru/subscriptions","organizations_url":"https://api.github.com/users/eugenpodaru/orgs","repos_url":"https://api.github.com/users/eugenpodaru/repos","events_url":"https://api.github.com/users/eugenpodaru/events{/privacy}","received_events_url":"https://api.github.com/users/eugenpodaru/received_events","type":"User","site_admin":false},"body":"From the angular docs (https://docs.angularjs.org/api/ng/filter/filter):\r\n>function(value, index, array): A predicate function can be used to write arbitrary filters. The function is called for each element of the array, with the element, its index, and the entire array itself as arguments. The final result is an array of those elements that the predicate returned true for.\r\n\r\nSo the predicate function should return a boolean value instead of an array.","created_at":"2015-09-28T13:20:06Z","updated_at":"2015-10-06T12:11:09Z","closed_at":"2015-10-06T12:11:09Z","merged_at":"2015-10-06T12:11:09Z","merge_commit_sha":"43cebdae3018798d9a2ddaeda7641902a96240cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/6037/commits","review_comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/6037/comments","review_comment_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/6037/comments","statuses_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/492c22b1761f0e70e2b07de600ed882355339ad1","head":{"label":"eugenpodaru:master","ref":"master","sha":"492c22b1761f0e70e2b07de600ed882355339ad1","user":{"login":"eugenpodaru","id":1391294,"avatar_url":"https://avatars.githubusercontent.com/u/1391294?v=3","gravatar_id":"","url":"https://api.github.com/users/eugenpodaru","html_url":"https://github.com/eugenpodaru","followers_url":"https://api.github.com/users/eugenpodaru/followers","following_url":"https://api.github.com/users/eugenpodaru/following{/other_user}","gists_url":"https://api.github.com/users/eugenpodaru/gists{/gist_id}","starred_url":"https://api.github.com/users/eugenpodaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugenpodaru/subscriptions","organizations_url":"https://api.github.com/users/eugenpodaru/orgs","repos_url":"https://api.github.com/users/eugenpodaru/repos","events_url":"https://api.github.com/users/eugenpodaru/events{/privacy}","received_events_url":"https://api.github.com/users/eugenpodaru/received_events","type":"User","site_admin":false},"repo":{"id":43301240,"name":"DefinitelyTyped","full_name":"eugenpodaru/DefinitelyTyped","owner":{"login":"eugenpodaru","id":1391294,"avatar_url":"https://avatars.githubusercontent.com/u/1391294?v=3","gravatar_id":"","url":"https://api.github.com/users/eugenpodaru","html_url":"https://github.com/eugenpodaru","followers_url":"https://api.github.com/users/eugenpodaru/followers","following_url":"https://api.github.com/users/eugenpodaru/following{/other_user}","gists_url":"https://api.github.com/users/eugenpodaru/gists{/gist_id}","starred_url":"https://api.github.com/users/eugenpodaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugenpodaru/subscriptions","organizations_url":"https://api.github.com/users/eugenpodaru/orgs","repos_url":"https://api.github.com/users/eugenpodaru/repos","events_url":"https://api.github.com/users/eugenpodaru/events{/privacy}","received_events_url":"https://api.github.com/users/eugenpodaru/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eugenpodaru/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped","forks_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/eugenpodaru/DefinitelyTyped/releases{/id}","created_at":"2015-09-28T13:03:59Z","updated_at":"2015-09-28T13:04:10Z","pushed_at":"2015-09-28T13:30:09Z","git_url":"git://github.com/eugenpodaru/DefinitelyTyped.git","ssh_url":"git@github.com:eugenpodaru/DefinitelyTyped.git","clone_url":"https://github.com/eugenpodaru/DefinitelyTyped.git","svn_url":"https://github.com/eugenpodaru/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":72738,"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":"borisyankov:master","ref":"master","sha":"d0adccc436197cc7c3559322721e9df86b892bd6","user":{"login":"borisyankov","id":867242,"avatar_url":"https://avatars.githubusercontent.com/u/867242?v=3","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"repo":{"id":6093316,"name":"DefinitelyTyped","full_name":"borisyankov/DefinitelyTyped","owner":{"login":"borisyankov","id":867242,"avatar_url":"https://avatars.githubusercontent.com/u/867242?v=3","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borisyankov/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped","forks_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/releases{/id}","created_at":"2012-10-05T16:39:45Z","updated_at":"2015-10-06T06:07:23Z","pushed_at":"2015-10-06T12:11:09Z","git_url":"git://github.com/borisyankov/DefinitelyTyped.git","ssh_url":"git@github.com:borisyankov/DefinitelyTyped.git","clone_url":"https://github.com/borisyankov/DefinitelyTyped.git","svn_url":"https://github.com/borisyankov/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":123010,"stargazers_count":5018,"watchers_count":5018,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3325,"mirror_url":null,"open_issues_count":836,"forks":3325,"open_issues":836,"watchers":5018,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/6037"},"html":{"href":"https://github.com/borisyankov/DefinitelyTyped/pull/6037"},"issue":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/6037"},"comments":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/6037/comments"},"review_comments":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/6037/comments"},"review_comment":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/pulls/6037/commits"},"statuses":{"href":"https://api.github.com/repos/borisyankov/DefinitelyTyped/statuses/492c22b1761f0e70e2b07de600ed882355339ad1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vvakame","id":125332,"avatar_url":"https://avatars.githubusercontent.com/u/125332?v=3","gravatar_id":"","url":"https://api.github.com/users/vvakame","html_url":"https://github.com/vvakame","followers_url":"https://api.github.com/users/vvakame/followers","following_url":"https://api.github.com/users/vvakame/following{/other_user}","gists_url":"https://api.github.com/users/vvakame/gists{/gist_id}","starred_url":"https://api.github.com/users/vvakame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvakame/subscriptions","organizations_url":"https://api.github.com/users/vvakame/orgs","repos_url":"https://api.github.com/users/vvakame/repos","events_url":"https://api.github.com/users/vvakame/events{/privacy}","received_events_url":"https://api.github.com/users/vvakame/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":3,"deletions":3,"changed_files":2}}