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>;