Advanced Vocabulary #typescript #type-system #utility-types #type-narrowing

TypeScript — Advanced Types

5 exercises — interface vs type alias, discriminated unions with exhaustive checking, built-in utility types, type narrowing, and reading TypeScript compiler errors in plain English.

0 / 22 completed
1 / 22
During a TypeScript code review, a reviewer comments: "Prefer an interface over a type alias here — this shape needs to be extendable." What is the key difference that makes the reviewer favour interface?

Frequently Asked Questions

What does the "TypeScript — Advanced Types" vocabulary exercise cover?

This exercise tests real IT vocabulary related to typescript — advanced types through 22 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.

Is this vocabulary exercise free to use?

Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.

How many questions does this exercise have?

This exercise has 22 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.