Module: util/object
Functions
mergeStrict
▸ mergeStrict<Value>(...objects): Record<string, Value>
Merges all objects passed in by key, raising an exception if any two objects share a key
Type parameters
| Name |
|---|
Value |
Parameters
| Name | Type | Description |
|---|---|---|
...objects | Record<string, Value>[] | The objects to merge |
Returns
Record<string, Value>
The merged object