• Assigns object in reverse by Object.assign

    Example

    defaults(({ a: 0 }), { a: 1, b: 2 }, { b: 3 }); // { a: 0, b: 2 }
    

    Parameters

    • obj: Record<string, unknown>
    • Rest ...sources: Record<string, unknown>[]

    Returns Record<string, unknown>

Generated using TypeDoc