mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 23:37:35 +08:00
Merge pull request #6037 from eugenpodaru/master
Fix to IFilterPredicateFunc<T>
This commit is contained in:
@@ -952,10 +952,10 @@ function ngFilterTyping() {
|
||||
$filter("name")(items, "test");
|
||||
$filter("name")(items, {name: "test"});
|
||||
$filter("name")(items, (val, index, array) => {
|
||||
return array;
|
||||
return true;
|
||||
});
|
||||
$filter("name")(items, (val, index, array) => {
|
||||
return array;
|
||||
return true;
|
||||
}, (actual, expected) => {
|
||||
return actual == expected;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user