What is an intersection type in TypeScript?

TypeScript Associate Medium

TypeScript Associate — Medium

What is an intersection type in TypeScript?

Key points

  • Intersection types use the '&' operator to combine types.
  • They include all properties from each type involved.
  • Useful for creating complex types by merging multiple types together.

Ready to go further?

Related questions