Introduction
Type aliases let you give a simple name to a complex type. This makes your code easier to read and reuse.
When you want to name a complex type like a union or an object.
When you use the same type in many places and want to avoid repeating it.
When you want to make your code clearer by giving meaningful names to types.
When you want to simplify function signatures by using a type alias.
When you want to prepare your code for future changes by centralizing type definitions.