TypeScript: Prefer Interfaces

Some time after this blog post was written, Anders Hejlsberg opened a PR that preserves type aliases for union and intersection types. That PR’s changes should included in TypeScript 4.2, so when that version is released, the reasons for preferring interfaces might be less compelling.
Recently, I noticed a Twitter thread from Rob Palmer in which he described some performance problems that were caused by the use…