TypeScript
TypeScript Intersection TypesTypeScript Intersection Types
Intersection types smash multiple custom types into a single type.
Read Time
5 min readDifficulty
BeginnerLast Updated
Jun 15, 2026Version
v1.0.0Introduction
While a Union type is an "OR" statement, an Intersection type is an "AND" statement. It combines two completely separate interfaces or types together. The final variable must contain every single property from both original types.
Example
Example
Key Points
- Use the ampersand symbol `&` to create an intersection.
- It means "this AND that".
- It is commonly used when combining data from multiple API responses.
- If a property is missing, TypeScript throws an error.