mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
GroupBy should return a _ChainOfArrays
This commit is contained in:
1 parent
30cfe7dedb
commit
85f18d8f7e
1 file changed
+2
-2
Vendored
+2
-2
@@ -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[]`.
|
||||
|
||||
Reference in new issue
Block a user