Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptdeclaration mergingSingle-choice MCQ

Two interface declarations with the same name merge their members. What happens when both declare a property of the same name but DIFFERENT types?

interface Conf { x: number; } interface Conf { x: string; }