Creating a strongly-typed object
In this lesson, we'll learn how TypeScript infers the types of objects and how to explicitly specify object type annotations ourselves.
We'll cover the following...
Inferred object types #
In the code below, what has TypeScript inferred the type of tomScore
to be?
Access this course and 1400+ top-rated courses and projects.