/** * If first object is not nil, it'll merge with second object. (First over second) * Otherwise, it'll return second object. * * @export * @template T Object type * @param {(T | Partial)} first First object * @param {(T | Partial)} second Second object * @returns {(T | Partial)} */ export default function ifMerge(first: T | Partial, second: T | Partial): T | Partial;