Introduction
A type alias lets you give a name to an object shape. This makes your code easier to read and reuse.
When you want to describe the shape of an object clearly.
When you use the same object structure in many places.
When you want to avoid repeating the same object type again and again.
When you want to make your code easier to understand by naming complex object types.