• Assigns object like Object.assign

    Example

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

    Parameters

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

    Returns Record<string, unknown>

Generated using TypeDoc