```ts
// Intersections are generally slower than...
type Bad = User & ExtraAttrs;

// ...interfaces, because TypeScript can
// cache the shape of an interface by its name
interface Good extends User, ExtraAttrs {}
```
