diff --git a/types/lodash/index.d.ts b/types/lodash/index.d.ts index 301f4d8b66..0d54e31678 100644 --- a/types/lodash/index.d.ts +++ b/types/lodash/index.d.ts @@ -16222,7 +16222,7 @@ declare namespace _ { */ mapValues(obj: Dictionary | null | undefined, callback: ObjectIterator): Dictionary; mapValues(obj: Dictionary | null | undefined, where: Dictionary): Dictionary; - mapValues(obj: T | null | undefined, pluck: string): TMapped; + mapValues(obj: T | null | undefined, pluck?: string): TMapped; mapValues(obj: T | null | undefined, callback: ObjectIterator): T; } @@ -16239,7 +16239,7 @@ declare namespace _ { * TResult is the type of the property specified by pluck. * T should be a Dictionary> */ - mapValues(pluck: string): LoDashImplicitObjectWrapper>; + mapValues(pluck?: string): LoDashImplicitObjectWrapper>; /** * @see _.mapValues @@ -16262,7 +16262,7 @@ declare namespace _ { * TResult is the type of the property specified by pluck. * T should be a Dictionary> */ - mapValues(pluck: string): LoDashExplicitObjectWrapper>; + mapValues(pluck?: string): LoDashExplicitObjectWrapper>; /** * @see _.mapValues