Function: mergeObjects()
mergeObjects<
A,B>(objTarget:A,objSource:Readonly<B>):A&B
Defined in: mergeObjects.ts:8
Merges two objects
Type Parameters
| Type Parameter |
|---|
A extends object |
B extends object |
Parameters
| Parameter | Type | Description |
|---|---|---|
objTarget | A | The object to be merged |
objSource | Readonly<B> | The object to merge |
Returns
A & B