@decaf-ts/fabric-weaver
Version:
template for ts projects
9 lines (8 loc) • 341 B
TypeScript
/**
* Overrides properties of the target object with non-undefined values from the source object.
*
* @param target The object to be modified
* @param source The object containing override values
* @returns The modified target object
*/
export declare function overrideNonUndefined<T extends object>(target: T, source: Partial<T>): T;