Introduction
Typealias lets you give a new, easy name to an existing type. This makes your code simpler and clearer.
When a type name is long or complicated and you want a shorter name.
When you want to give a type a name that fits your app's language or domain better.
When you want to make your code easier to read by using meaningful names.
When you want to switch the underlying type later without changing all your code.
When you want to group related types under a common name.