Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptexcess property checksSingle-choice MCQ

An excess (unknown) property appears on a fresh object literal passed where an INTERSECTION type is expected. What happens?

interface A { a: number } interface B { b: number } function f(x: A & B) {} f({ a: 1, b: 2, c: 3 });