mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Merge pull request #3476 from davetayls/feature/underscore-reduce-object
add reduce with ObjectIterator
This commit is contained in:
Vendored
+6
@@ -179,6 +179,12 @@ interface UnderscoreStatic {
|
||||
memo?: TResult,
|
||||
context?: any): TResult;
|
||||
|
||||
reduce<T, TResult>(
|
||||
list: _.Dictionary<T>,
|
||||
iterator: _.ObjectIterator<T, TResult>,
|
||||
memo?: TResult,
|
||||
context?: any): TResult;
|
||||
|
||||
/**
|
||||
* @see _.reduce
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user