...

/

Understanding the any type

Understanding the any type

We will learn about the 'any' type in this lesson.

We'll cover the following...

An example #

The code below declares a variable called something and sets it to various values. From the last lesson, we know that TypeScript will give something the any type because there is no type annotation or value assignment in the declaration.

Access this course and 1400+ top-rated courses and projects.