mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08:00
Changed IFilterPredicateFunc<T> to return boolean instead of T[] as per angular docs (https://docs.angularjs.org/api/ng/filter/filter)
This commit is contained in:
1 parent
d0adccc436
commit
8b88d55ef1
1 file changed
+1
-1
Vendored
+1
-1
@@ -794,7 +794,7 @@ declare module angular {
|
||||
}
|
||||
|
||||
interface IFilterPredicateFunc<T> {
|
||||
(value: T, index: number, array: T[]): T[];
|
||||
(value: T, index: number, array: T[]): boolean;
|
||||
}
|
||||
|
||||
interface IFilterComparatorFunc<T> {
|
||||
|
||||
Reference in new issue
Block a user