Skip to content

Commit

Permalink
types: imporve types
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Nov 12, 2024
1 parent c51d2f5 commit f56f452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collection/mergeWith.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function mergeWith<T extends Record<string, any>, K extends Record<string
function baseMergeWith<T extends Record<string, any>, K extends Record<string, any>>(
object: T,
source: K,
fn: (objValue: any, srcValue: any, key: string | number | symbol, object?: T, source?: K) => any,
fn: Fn,
): T & K {
function baseMerge(target: any, src: any): any {
// eslint-disable-next-line no-restricted-syntax
Expand Down

0 comments on commit f56f452

Please sign in to comment.