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:
...In this lesson, we'll learn what a type alias is and when they are useful.
In the last lesson, we created an object type to hold a name and a score:
const tomScore: { name:
...