Intersecting with Types, Interfaces, and Generics

In this lesson, we will look at how to intersect types, interfaces, and generics.

TypeScript can manipulate types by combining any of them in one of several ways. The first way is to specify a type to be an intersection type, using an ampersand &. In the end, the type will have the sum of all members.

Get hands-on with 1200+ tech skills courses.