Those coming from the world of TypeScript or Java initially think of classes, interfaces, and generics when they hear “types.