About This Test
Evaluate your TypeScript knowledge comprehensively.
This test measures your understanding of TypeScript fundamentals and advanced features. It covers everything from basic syntax to complex type systems.
The questions are a mix of multiple-choice, fill-in-the-blank, and coding exercises designed to test both theoretical knowledge and practical application. You will encounter real-world scenarios as part of the assessment.
Use your results to highlight areas for further learning in TypeScript. Tailor your study efforts based on your performance to ensure a well-rounded understanding.
What This Test Covers
Types and Annotations
Basic types, interfaces, type aliases, unions, and how TypeScript checks annotations at compile time before producing plain JavaScript.
Generics and Advanced Types
Generic functions and classes, conditional and mapped types, utility types like Partial and Pick, and computing types from other types.
Narrowing and Type Guards
Refining union types with typeof and equality checks, discriminated unions, and writing custom type guards to handle values safely.
Configuration and JavaScript Base
tsconfig options, strict mode, and the underlying JavaScript concepts like closures and async that TypeScript builds upon.