Skip to content

baseAssign

Functions

baseAssign()

baseAssign(target, source)

baseAssign<T, U>(target, source): T & U

Object.assign

Type parameters
Parameter
T extends Object
U
Parameters
ParameterType
targetT
sourceU
Returns

T & U

baseAssign(target, source1, source2)

baseAssign<T, U, V>(target, source1, source2): T & U & V

Object.assign

Type parameters
Parameter
T extends Object
U
V
Parameters
ParameterType
targetT
source1U
source2V
Returns

T & U & V

baseAssign(target, source1, source2, source3)

baseAssign<T, U, V, W>(target, source1, source2, source3): T & U & V & W

Object.assign

Type parameters
Parameter
T extends Object
U
V
W
Parameters
ParameterType
targetT
source1U
source2V
source3W
Returns

T & U & V & W

baseAssign(target, sources)

baseAssign(target, ...sources): any

Object.assign

Parameters
ParameterType
targetobject
...sourcesany[]
Returns

any