Test your knowledge on TypeScript Basics II Quiz: Master Core Types for Interviews (string, number, boolean, null/undefined, any/unknown, void/never). This quiz contains 10 questions.
Level: Beginner
Topic: basics-ii
Choose the correct variable type annotation
You want a variable that can only hold a true/false value. Which TypeScript annotation is correct?