Comparing version 0.0.21 to 0.0.22
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
export declare function mapValues<T extends object, S>(fn: (key: keyof T, value: T[keyof T]) => S): (object: T) => Record<keyof T, S>; | ||
export declare function mapValues<T extends object, S>(fn: (value: T[keyof T], key: keyof T) => S): (object: T) => Record<keyof T, S>; | ||
//# sourceMappingURL=mapValues.d.ts.map |
@@ -23,3 +23,3 @@ /** | ||
*/ | ||
export declare function mapValues<T extends object, S>(fn: (key: keyof T, value: T[keyof T]) => S): (object: T) => Record<keyof T, S>; | ||
export declare function mapValues<T extends object, S>(fn: (value: T[keyof T], key: keyof T) => S): (object: T) => Record<keyof T, S>; | ||
//# sourceMappingURL=mapValues.d.ts.map |
{ | ||
"name": "remeda", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "A utility library for JavaScript and Typescript.", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js", |
@@ -28,3 +28,3 @@ /** | ||
export function mapValues<T extends object, S>( | ||
fn: (key: keyof T, value: T[keyof T]) => S | ||
fn: (value: T[keyof T], key: keyof T) => S | ||
): (object: T) => Record<keyof T, S>; | ||
@@ -31,0 +31,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package