mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
add NumericDictionary to lodash _.reduce parameter
This commit is contained in:
1 parent
b6e4a8d51a
commit
b52524f205
1 file changed
+17
Vendored
+17
@@ -8302,6 +8302,15 @@ declare module _ {
|
||||
accumulator: TResult,
|
||||
thisArg?: any): TResult;
|
||||
|
||||
/**
|
||||
* @see _.reduce
|
||||
**/
|
||||
reduce<T, TResult>(
|
||||
collection: NumericDictionary<T>,
|
||||
callback: MemoIterator<T, TResult>,
|
||||
accumulator: TResult,
|
||||
thisArg?: any): TResult;
|
||||
|
||||
/**
|
||||
* @see _.reduce
|
||||
**/
|
||||
@@ -8326,6 +8335,14 @@ declare module _ {
|
||||
callback: MemoIterator<T, TResult>,
|
||||
thisArg?: any): TResult;
|
||||
|
||||
/**
|
||||
* @see _.reduce
|
||||
**/
|
||||
reduce<T, TResult>(
|
||||
collection: NumericDictionary<T>,
|
||||
callback: MemoIterator<T, TResult>,
|
||||
thisArg?: any): TResult;
|
||||
|
||||
}
|
||||
|
||||
interface LoDashImplicitArrayWrapper<T> {
|
||||
|
||||
Reference in new issue
Block a user