Skip to main content

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

NameTypeDescription
...objectsRecord<string, Value>[]The objects to merge

Returns

Record<string, Value>

The merged object

Defined in

util/object.ts:6