diff --git a/types/index.d.ts b/types/index.d.ts index 4271a6a..ad7040f 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -104,18 +104,18 @@ type ShouldMergeArrays = Is> extends true ? Is> : false; -type ArrayMerge = ( - target: Array, - source: Array, +type ArrayMerge = ( + target: Array, + source: Array, options: Required ) => any; -type ObjectMerge = ( +type ObjectMerge = ( key: string, options: Required -) => ((target: T1, source: T2, options?: deepmerge.Options) => any) | undefined; +) => ((target: any, source: any, options?: deepmerge.Options) => any) | undefined; -type IsMergeable = (value: object) => boolean; +type IsMergeable = (value: any) => boolean; type DefaultOptions = { arrayMerge: undefined;