UNPKG

e2ed

Version:

E2E testing framework over Playwright

7 lines (6 loc) 260 B
import type { DeepPartial } from '../../types/internal'; /** * Deep merge two objects (arrays does not merge). * `y` overwrites `x`; `x` and `y` are immutable. */ export declare const deepMerge: <Type extends object>(x: Type, y: DeepPartial<Type>) => Type;