diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index b78c92bec..aa1800164 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -3474,24 +3474,24 @@ declare module LoDash { * @param keys The properties to omit. * @return An object without the omitted properties. **/ - omit( - object: any, - ...keys: string[]): any; + omit( + object: T, + ...keys: string[]): Omitted; /** * @see _.omit **/ - omit( - object: any, - keys: string[]): any; + omit( + object: T, + keys: string[]): Omitted; /** * @see _.omit **/ - omit( - object: any, - callback: ObjectIterator, - thisArg?: any): any; + omit( + object: T, + callback: ObjectIterator, + thisArg?: any): Omitted; } //_.pairs @@ -3517,24 +3517,24 @@ declare module LoDash { * @param keys Property names to pick * @return An object composed of the picked properties. **/ - pick( - object: any, - ...keys: string[]): any; + pick( + object: T, + ...keys: string[]): Picked; /** * @see _.pick **/ - pick( - object: any, - keys: string[]): any; + pick( + object: T, + keys: string[]): Picked; /** * @see _.pick **/ - pick( - object: any, + pick( + object: T, callback: ObjectIterator, - thisArg?: any): any; + thisArg?: any): Picked; } //_.transform