From 2fb10c3e992cb8eebf0f336c2d59cb6baf1509ce Mon Sep 17 00:00:00 2001 From: polizz Date: Wed, 6 Dec 2017 19:26:41 -0600 Subject: [PATCH] Add missing _.matches iteratee shorthand --- types/lodash/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/lodash/index.d.ts b/types/lodash/index.d.ts index 07c9e1227b..d6c21d839b 100644 --- a/types/lodash/index.d.ts +++ b/types/lodash/index.d.ts @@ -17100,7 +17100,7 @@ declare namespace _ { // Note: key should be string, not keyof T, because the actual object may contain extra properties that were not specified in the type. type ObjectIterator = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult; type ObjectIteratee = ObjectIterator | string | [string, any] | PartialDeep; - type ObjectIterateeCustom = ObjectIterator | string | [string, any] | PartialDeep; + type ObjectIterateeCustom = ObjectIterator | string | {} | [string, any] | PartialDeep; type ObjectIteratorTypeGuard = (value: TObject[keyof TObject], key: string, collection: TObject) => value is S; type DictionaryIterator = ObjectIterator, TResult>;