mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Invalid partition return type in chain
Chain is an array of T. Partition should return _Chain<T[]>.
This commit is contained in:
1 parent
02271c5387
commit
9d461e546e
1 file changed
+1
-1
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