Give complicated types a name so your code becomes easier to understand and reuse.
A type alias lets you create your own name for a TypeScript type. Instead of repeatedly writing a complicated object shape, you can define it once and use its name everywhere.
Type aliases can describe objects, unions, tuples, function types, and other combinations. They help make larger TypeScript applications easier to read and maintain.
What you'll walk away knowing