From b52524f205340d85fece884b5accb05490f5b0a8 Mon Sep 17 00:00:00 2001 From: Warren Wong Date: Fri, 19 Feb 2016 15:34:59 -0800 Subject: [PATCH] add NumericDictionary to lodash _.reduce parameter --- lodash/lodash.d.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index 579ffd929..a230e9934 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -8302,6 +8302,15 @@ declare module _ { accumulator: TResult, thisArg?: any): TResult; + /** + * @see _.reduce + **/ + reduce( + collection: NumericDictionary, + callback: MemoIterator, + accumulator: TResult, + thisArg?: any): TResult; + /** * @see _.reduce **/ @@ -8326,6 +8335,14 @@ declare module _ { callback: MemoIterator, thisArg?: any): TResult; + /** + * @see _.reduce + **/ + reduce( + collection: NumericDictionary, + callback: MemoIterator, + thisArg?: any): TResult; + } interface LoDashImplicitArrayWrapper {