Skip to content

objectenvy / MergeOptions

Interface: MergeOptions

Defined in: types.ts:82

Options for controlling the merge behaviour of merge() and override().

Config

See

Properties

PropertyTypeDefault valueDescriptionDefined in
arrayMergeStrategy?ArrayMergeStrategy'replace'Strategy to apply when both objects contain an array at the same key. - 'replace' — the second (higher-priority) array replaces the first entirely. - 'concat' — arrays are concatenated, second array appended after the first. - 'concat-unique' — concatenated with duplicate primitive values removed.types.ts:92

Released under the MIT License.