GroupBy should return a _ChainOfArrays

This commit is contained in:
dcrusader
2015-01-07 09:23:24 -08:00
parent 30cfe7dedb
commit 85f18d8f7e
+2 -2
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[]`.