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

What kind of error does this assignment produce, and how does it differ from a standard excess-property check?

interface Opts { a?: number; b?: number } const src = { c: 1 }; const o: Opts = src;