Course contentsShow
TypeScript
Lesson 350 of 1,7968. Interfaces vs Type AliasesPro lesson

Aliasing Primitive and Literal Types

Type aliases can name primitives, literals, or unions like type ID = string or type Status = 'active' | 'inactive'.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.