...
/Intersecting with Types, Interfaces, and Generics
Intersecting with Types, Interfaces, and Generics
In this lesson, we will look at how to intersect types, interfaces, and generics.
We'll cover the following...
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.
Access this course and 1400+ top-rated courses and projects.