All quizzes
Free quiz · 51 questions in the bank

TypeScript quiz

Test your TypeScript knowledge with a free interactive quiz — 51 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is TypeScript?

Questions in this quiz
  1. What is TypeScript?
  2. What does the `Pick` utility type do?
  3. Which TypeScript option enables the strictest type-checking?
  4. What is the `any` type in TypeScript?
  5. What is the `unknown` type and how does it differ from `any`?
  6. What is the difference between `interface` and `type` in TypeScript?
  7. How do you specify that a function parameter can be either a string or a number?
  8. What is a type guard in TypeScript?
  9. What is `void` type used for in TypeScript?
  10. What does `tsconfig.json` control?
  11. What file extension is used for TypeScript files with JSX?
  12. What is type assertion in TypeScript?
Gaps to close?
Read the curated TypeScript notes — core concepts, patterns, interview prep.
TypeScript notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web