Closed chrislambe closed 4 years ago
This isn't entirely correct. cloneUnlessOtherwiseSpecified is added to the options for the arrayMerge function, but it can't be passed in by the caller. There really should be a separate type definition for options passed in to arrayMerge and customMerge.
cloneUnlessOtherwiseSpecified
was added to the options object in https://github.com/TehShrike/deepmerge/pull/165 but they forgot to add it to theOptions
type.