Quiz
Generic Inference From Multiple Arguments
How TypeScript resolves a type parameter when two arguments supply conflicting structural candidates.
Given `declare function merge<T>(a: T, b: T): T;`, what is the inferred type of `result` in: const result = merge({ x: 1 }, { x: 1, y: 2 });