type alias
Also written: type aliases
A name for any type, made with the keyword `type`, such as `type Cents = number;`. For object shapes it is nearly interchangeable with `interface`.
Also written: type aliases
A name for any type, made with the keyword `type`, such as `type Cents = number;`. For object shapes it is nearly interchangeable with `interface`.