...

/

Creating type aliases

Creating type aliases

In this lesson, we'll learn what a type alias is and when they are useful.

Understanding the need for type aliases #

In the last lesson, we created an object type to hold a name and a score:

const tomScore: { name:
...