Function mergeDefaults

  • Deeply merges object b into a. Mutates a.

    Same concept as _.merge, but doesn't overwrite properties that have already been assigned.

    Type Parameters

    • T

    Parameters

    • a: T
    • b: Partial<T>

    Returns T

Generated using TypeDoc