Type Alias (TypeScript)
A type alias gives a name to any type using the `type` keyword, so you can reuse it. Unlike an interface, it can name unions, tuples, primitives, and more —…
A type alias gives a name to any type using the `type` keyword, so you can reuse it. Unlike an interface, it can name unions, tuples, primitives, and more —…