Interface vs Type Alias
Multiple Choice Medium
Question
Which feature does `interface` support that `type` does not (for the same object shape)?
Hint
Think about what happens when you declare the same interface name twice.
Explanation
Interfaces support declaration merging — if you declare two interfaces with the same name, TypeScript merges them. Type aliases cannot be merged. Both support optional/readonly properties and extension.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.