js-util

Home > rc-js-util > dictionaryCloneExtend

dictionaryCloneExtend() function

Creates an object which is extended sequentially by two additional objects.

Signature:

export declare function dictionaryCloneExtend<T extends object, U extends object>(base: T, extension: U): T & U;

Parameters

Parameter Type Description
base T The object to apply first.
extension U The object to apply second.

Returns:

T & U

Remarks

See dictionaryCloneExtend().