Fix type of argument 'expression' of IFilterOrderBy to allow mixing functions

and strings
This commit is contained in:
Jens Vonderheide
2015-11-13 14:37:32 +01:00
parent 4f7b7e01d3
commit 58add5e554
+1 -1
View File
@@ -774,7 +774,7 @@ declare module angular {
* @param reverse Reverse the order of the array.
* @return Reverse the order of the array.
*/
<T>(array: T[], expression: string|string[]|((value: T) => any)|((value: T) => any)[], reverse?: boolean): T[];
<T>(array: T[], expression: string|((value: T) => any)|(((value: T) => any)|string)[], reverse?: boolean): T[];
}
/**