mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
The "chain" methods "all" return boolean values. (#10955)
They actually return _ChainSingle<boolean>, not _Chain<T>. http://underscorejs.org/#every
This commit is contained in:
committed by
Masahiro Wakame
parent
76a497660f
commit
b74d0bee45
Vendored
+1
-1
@@ -5074,7 +5074,7 @@ interface _Chain<T> {
|
||||
* Wrapped type `any[]`.
|
||||
* @see _.all
|
||||
**/
|
||||
all(iterator?: _.ListIterator<T, boolean>, context?: any): _Chain<T>;
|
||||
all(iterator?: _.ListIterator<T, boolean>, context?: any): _ChainSingle<boolean>;
|
||||
|
||||
/**
|
||||
* @see _.all
|
||||
|
||||
Reference in New Issue
Block a user