Skip to content

Commit

Permalink
fix. fix ts problem
Browse files Browse the repository at this point in the history
  • Loading branch information
seungrodotlee committed Jan 22, 2025
1 parent 777fb1b commit 318c64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fp/object/mapKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ export function mapKeys<T extends object, K1 extends keyof T, K2 extends Propert
}

const object = objectOrGetNewKey as T;
return mapKeysToolkit(object, getNewKey);
return mapKeysToolkit(object, getNewKey as any);
}

0 comments on commit 318c64f

Please sign in to comment.