@openfin/automation-helpers
Version:
Helper methods for automation testing in the OpenFin ecosystem
16 lines (15 loc) • 419 B
TypeScript
/**
* Simple object check.
* @param item Determine if object for item.
* @returns True if the item is an object.
*/
export declare function isObject(item: unknown): boolean;
/**
* Deep merge two objects.
* @param target The target object.
* @param source The source object.
* @returns The merged object.
*/
export declare function mergeDeep<T extends {
[key: string]: unknown;
}>(target: T, source: T): T;