mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-03 16:50:15 +00:00
Merge pull request #3476 from davetayls/feature/underscore-reduce-object
add reduce with ObjectIterator
This commit is contained in:
6
underscore/underscore.d.ts
vendored
6
underscore/underscore.d.ts
vendored
@@ -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