Loading Exam Interface...

Master the Art of Reusable, Type-Safe Code

Basic types (string, number) are easy. But can you write a reusable component that works with any data type while still maintaining strict type safety? The Certified TypeScript Professional (Level 2) exam is designed for developers who are ready to move beyond simple type annotations and start engineering complex systems.

This Intermediate/Hard assessment focuses on the features that make TypeScript truly powerful: Generics and Utility Types. These are the exact skills required to build scalable React components, efficient Node.js APIs, and strictly typed libraries.

Why This Certification Matters

In a professional codebase, you rarely hardcode types. You use Generics to create flexible functions and Utility Types to avoid code duplication. Passing this exam proves to employers that you can write DRY (Don’t Repeat Yourself) code that is both flexible and error-proof—the hallmark of a Senior Engineer.

What You Will Be Tested On

This exam evaluates your ability to handle complex type scenarios:

  • Generics (The Core): Using <T> to create reusable functions, classes, and interfaces. This is essential for typing API responses and Props in React.
  • Advanced Type Combinations: Mastering Union Types (|) to handle multiple possibilities and Intersection Types (&) to combine object shapes.
  • Type Guards & Narrowing: Using typeof, instanceof, and custom Type Predicates (is) to safely narrow down a broad type (like unknown) to a specific one.
  • Utility Types: Demonstrating efficiency with built-in tools like Partial, Pick, Omit, and Readonly to manipulate existing types without rewriting them.
  • Safety First: Understanding the critical difference between any (unsafe) and unknown (safe) to prevent runtime crashes.

Who Should Take This Exam?

  • React/Next.js Developers: Who need to type complex Props and Hooks properly.
  • Backend Developers: Writing strictly typed APIs with NestJS or Express.
  • Library Authors: Who want to ensure their code is consumable by others safely.

Exam Details:

  • Difficulty: Intermediate/Hard (Level 2)
  • Questions: 15 Technical Scenarios
  • Passing Score: 80%
  • Time Limit: 15 Minutes

Don’t just write types. Engineer them. Get Certified.

Frequently Asked Questions

Why are Generics () considered the most important topic?

Generics allow you to write code that is flexible yet safe. Without Generics, you would have to duplicate code for every different data type. It is the foundation of modern TypeScript development.

What is the difference between any and unknown?

This is a classic interview question covered in the exam. any turns off type checking (dangerous), while unknown forces you to check the type before using it (safe). We test your ability to use unknown for better security.

Do I need to know about Mapped Types for this level?

We touch upon Utility Types (which use mapped types internally), but you don't need to write complex custom Mapped Types from scratch. That is reserved for Level 3 (Architect). Here, you just need to know how to use Pick, Omit, etc.

Is this relevant for React developers?

Absolutely. React components heavily use Union types (for status: 'loading' | 'success' | 'error') and Utility types (like Omit to remove props). This exam mimics real-world React scenarios.

Why are there only 15 questions?

Because the questions are complex. You will likely need to analyze code snippets involving nested Generics or Type Guards, which takes more time and mental effort than simple syntax questions.

Scroll to Top