Merge pull request #3428 from dcrusader/patch-3

GroupBy should return a _ChainOfArrays
This commit is contained in:
Masahiro Wakame
2015-01-09 00:20:42 +09:00

View File

@@ -2630,13 +2630,13 @@ interface _Chain<T> {
* Wrapped type `any[]`.
* @see _.groupBy
**/
groupBy(iterator?: _.ListIterator<T, any>, context?: any): _Chain<T>;
groupBy(iterator?: _.ListIterator<T, any>, context?: any): _ChainOfArrays<T>;
/**
* Wrapped type `any[]`.
* @see _.groupBy
**/
groupBy(iterator: string, context?: any): _Chain<T>;
groupBy(iterator: string, context?: any): _ChainOfArrays<T>;
/**
* Wrapped type `any[]`.