Skip to Content
TypeScript for Beginners: Catch Wrong Data Before It Runs
Beginner
0 likes
Courses
TypeScript for Beginners: Catch Wrong Data Before It Runs

Check Yourself: Types You Cannot Skip

Five scenario questions on inference, null, shapes, optional properties and any. If you miss more than one, reread the lessons in this section.

Course content

Sign in to save your progress.

Course Home
5. A function copies a value out of a variable typed any into a variable typed number. The value is really the string "three", and a later call to toFixed fails. Where did the checking stop?

About

Five scenario questions on inference, null, shapes, optional properties and any. If you miss more than one, reread the lessons in this section.

Duration
5 min
Last update
10/12/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.