Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
12 lines
635 B
Plaintext
12 lines
635 B
Plaintext
/**
|
|
Merges "own" properties from a source to a destination object, including non-enumerable and accessor-defined properties. It retains original values and descriptors, ensuring the destination receives a complete and accurate copy of the source's properties.
|
|
|
|
@param destination - The object to receive properties.
|
|
@param source - The object providing properties.
|
|
@param overwrite - Optional boolean to control overwriting of existing properties. Defaults to true.
|
|
@returns The modified destination object.
|
|
*/
|
|
declare function mergeDescriptors<T, U>(destination: T, source: U, overwrite?: boolean): T & U;
|
|
|
|
export = mergeDescriptors;
|