mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Fix the tests to comply with the interface
This commit is contained in:
@@ -941,10 +941,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