Types & Inference

← TypeScript course — Chapter 1 of 5

Type annotations, what the compiler infers on its own, primitives, arrays and tuples, and the special types: any, unknown, void, and never.

~~~

Your score — Types & Inference

/ (%)

~~~

Learn more

These quizzes are based on tutorials published on this site. Go deeper on Types & Inference:

~~~

About this course

This is a chapter of the free TypeScript quiz course. Answer each question, get immediate feedback with an explanation, and move on. Your progress is saved in your browser — nothing leaves your machine.

All chapters of the TypeScript courseall quiz courses