mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fix the tests to comply with the interface
This commit is contained in:
1 parent
8b88d55ef1
commit
492c22b176
1 file changed
+2
-2
@@ -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