Interfaces, Types & Unions

← TypeScript course — Chapter 2 of 5

Interface vs type alias, optional and readonly properties, union and intersection types, and literal types.

~~~

Your score — Interfaces, Types & Unions

/ (%)

Next chapter: Functions & Generics →
~~~

Learn more

These quizzes are based on tutorials published on this site. Go deeper on Interfaces, Types & Unions:

~~~

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