• Deep merge

    Differs from deepMerge in that it merges arrays instead of overriding them.

    The first argument is the target object, the rest are the sources. The target object will be mutated and returned.

    类型参数

    • T extends object = object
    • S extends object = T

    参数

    • target: T
    • ...sources: S[]

    返回 DeepMerge<T, S>