<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [dictionaryOverwrite](./rc-js-util.dictionaryoverwrite.md)

## dictionaryOverwrite() function

Modifies an object to include the keys and values of another.

**Signature:**

```typescript
export declare function dictionaryOverwrite<TBase extends TExtension, TExtension extends object>(base: TBase, extension: TExtension): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

base


</td><td>

TBase


</td><td>

The object to be modified, must be a superset of extension.


</td></tr>
<tr><td>

extension


</td><td>

TExtension


</td><td>

The object to be applied to `base`<!-- -->.


</td></tr>
</tbody></table>
**Returns:**

void

## Remarks

See [dictionaryOverwrite()](./rc-js-util.dictionaryoverwrite.md)<!-- -->.

