News for hackers. Stuff that matters.
Re:Announcing TypeScript 1.6 by spicyj on Wednesday September 16, 2015 @05:59PM (#10230181)
Objects whose type is a subtype of "Printable | Drawable" (union) are those that implement either interface. For "Printable & Drawable" (intersection), you have objects that implement both interfaces. Meaning, those objects that have both .print() and .draw() (or similar).

You're not taking the intersection of the interfaces, but of the sets of objects that implement them.

There are no comments on this comment yet.