rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
74 lines (35 loc) • 965 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [dictionaryCloneExtend](./rc-js-util.dictionarycloneextend.md)
## dictionaryCloneExtend() function
Creates an object which is extended sequentially by two additional objects.
**Signature:**
```typescript
export declare function dictionaryCloneExtend<T extends object, U extends object>(base: T, extension: U): T & U;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
base
</td><td>
T
</td><td>
The object to apply first.
</td></tr>
<tr><td>
extension
</td><td>
U
</td><td>
The object to apply second.
</td></tr>
</tbody></table>
**Returns:**
T & U
## Remarks
See [dictionaryCloneExtend()](./rc-js-util.dictionarycloneextend.md)<!-- -->.