Naming of TypeScript union and intersection types
Here’s another way to think about it. Consider four sets: Blue things, red things, big things, and small things. If you intersect the set of all blue things and all small things, you end up with the union of the properties — everything in the set has both the blue property and the small property. … Read more