There might be times when you want to extend a type, i.e., to add new fields to it. Instead of copying the types and creating duplicates, the better way to do that is to use the intersection operator &
. In this quick lesson, you will learn what it does and how you can use it to reduce duplicate types.