• Given two objects deeply merges them, if an object is an array it will merge the array values! Guarantees some type safety by requiring objects to merge to be from the same type (allows undefined)

    Type Parameters

    Parameters

    • base: Required<OrReadonly<T>>
    • Optionaladdon: T | DeepPartial<T> | Partial<T>

    Returns Required<T>

    deepMergeObjectInPlace to merge into an existing object

  • Given two objects deeply merges them, if an object is an array it will merge the array values! Guarantees some type safety by requiring objects to merge to be from the same type (allows undefined)

    Type Parameters

    Parameters

    • base: DeepRequired<OrReadonly<T>>
    • Optionaladdon: T | DeepPartial<T> | Partial<T>

    Returns DeepRequired<T>

    deepMergeObjectInPlace to merge into an existing object

  • Given two objects deeply merges them, if an object is an array it will merge the array values! Guarantees some type safety by requiring objects to merge to be from the same type (allows undefined)

    Type Parameters

    Parameters

    Returns T

    deepMergeObjectInPlace to merge into an existing object

  • Given two objects deeply merges them, if an object is an array it will merge the array values! Guarantees some type safety by requiring objects to merge to be from the same type (allows undefined)

    Parameters

    Returns Mergeable

    deepMergeObjectInPlace to merge into an existing object

  • Given two objects deeply merges them, if an object is an array it will merge the array values! Guarantees some type safety by requiring objects to merge to be from the same type (allows undefined)

    Parameters

    Returns undefined | Mergeable

    deepMergeObjectInPlace to merge into an existing object