mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Invalid partition return type in chain
Chain is an array of T. Partition should return _Chain<T[]>.
This commit is contained in:
Vendored
+1
-1
@@ -2833,7 +2833,7 @@ interface _Chain<T> {
|
||||
* Wrapped type `any[]`.
|
||||
* @see _.partition
|
||||
**/
|
||||
partition(iterator: _.ListIterator<T, boolean>, context?: any): _Chain<T[][]>;
|
||||
partition(iterator: _.ListIterator<T, boolean>, context?: any): _Chain<T[]>;
|
||||
|
||||
/**
|
||||
* Wrapped type `any[][]`.
|
||||
|
||||
Reference in New Issue
Block a user