Interview Preparation

TypeScript Interview Topics

10 topics across every core TypeScript concept — Types, generics, utility types and more.

10Topics
57Questions
4Categories
Level:BeginnerIntermediateAdvancedSenior
📌

Core Types

5 topics

Types vs Interfaces — Complete Interview Guide

Master the real differences between type aliases and interfaces in TypeScript — when to use each, how declaration merging works, which extends which, and how to answer every interviewer question on this perennial topic with confidence.

Intermediate·8–12 Qs

Generics — Complete Interview Guide

Deep-dive into TypeScript generics — type parameters, constraints, default types, generic functions, interfaces, and classes.

Intermediate·8–12 Qs

Type Guards & Narrowing — Complete Interview Guide

Understand TypeScript's type narrowing system — typeof, instanceof, in operator, discriminated unions, custom type predicates, and the never type for exhaustive checks.

Intermediate·6–10 Qs

Union & Intersection Types — Complete Interview Guide

Master TypeScript union and intersection types — how | and & work, discriminated unions for safe branching, structural composition with intersections, and the real semantic difference between OR-typed and AND-typed shapes.

Intermediate·6–10 Qs

Enums — Complete Interview Guide

Understand TypeScript enums thoroughly — numeric, string, and const enums, their runtime representation, when to use them versus union literal types, and the gotchas that trip up even experienced TypeScript developers.

Beginner·4–8 Qs
📌

Built-in Types

1 topic

Utility Types — Complete Interview Guide

Master TypeScript's built-in utility types — Partial, Required, Readonly, Pick, Omit, Record, Exclude, Extract, NonNullable, ReturnType, and more.

Intermediate·6–10 Qs
📌

OOP

1 topic

Classes & Access Modifiers — Complete Interview Guide

Deep-dive into TypeScript classes — public, private, protected, readonly, abstract, and the new #private fields.

Intermediate·6–10 Qs
📌

Advanced Types

3 topics

Mapped Types — Complete Interview Guide

Master TypeScript's mapped types — how they iterate over keys to transform type shapes, modifier addition and removal, key remapping with as, and how every built-in utility type (Partial, Required, Readonly, Pick) is implemented with them.

Advanced·6–10 Qs

Conditional Types — Complete Interview Guide

Deep-dive into TypeScript conditional types — the T extends U ? X : Y syntax, distributive behaviour over unions, the infer keyword for type extraction, and how to build powerful type utilities like ReturnType, Awaited, and NonNullable from first principles.

Advanced·6–10 Qs

Decorators — Complete Interview Guide

Deep-dive into TypeScript decorators — class, method, property, accessor, and parameter decorators.

Advanced·4–8 Qs

Reading isn't enough

The gap between knowing the answer and saying it under pressure is where interviews are won or lost.

Start Practicing Free →Read the Blog