mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00: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:
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