Problem Statement
Which supports declaration merging?
Explanation
Interfaces with the same name merge into a single interface. Type aliases do not merge—redeclaring the same type name is an error.
Code Solution
SolutionRead Only
interface Box { id: string }
interface Box { size: number }
// Merged => interface Box { id: string; size: number }