Explain it in 60 seconds
Structural typing in TypeScript
Frontend Engineering · TypeScript · Beginner
What does it mean that TypeScript uses structural typing?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Compatibility based on shape, not name.
- Extra properties allowed (except fresh literals).
- Different named types with same shape interchangeable.
- Duck typing at compile time.
- Brands for nominal behaviour.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.