Invalid partition return type in chain

Chain is an array of T. Partition should return _Chain<T[]>.
This commit is contained in:
Alexandre Paré
2015-08-04 11:46:20 -04:00
parent 02271c5387
commit 9d461e546e
+1 -1
View File
@@ -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[][]`.