On this page · sections
TypeScript — Module Guide
15 guided topics for senior frontend TypeScript interviews. Each page follows the same guide format: definitions, examples, interview callouts, and a senior summary.
| ID | Level | Topic | Covers |
|---|---|---|---|
| 01 | Easy | Type System Fundamentals | Type inference, annotations, structural typing, type compatibility, widening/narrowing |
| 02 | Easy | any vs unknown vs never vs void | Special types, safe boundaries, exhaustiveness, function return types |
| 03 | Easy | Union & Intersection Types | Unions, intersections, discriminated unions, narrowing patterns |
| 04 | Medium | Type Narrowing & Type Guards | typeof, in, instanceof, custom guards, assertion functions |
| 05 | Medium | Generics | Generic functions/types/classes, constraints, defaults, inference |
| 06 | Medium | Functions & Variance | Function types, overloads, optional/rest params, covariance, contravariance |
| 07 | Medium | Interfaces vs Type Aliases | Declaration merging, extension, intersections, design trade-offs |
| 08 | Medium | Mapped & Conditional Types | keyof, indexed access, mapped types, conditional types, infer |
| 09 | Hard | Advanced Type Operators | typeof, keyof, indexed access, template literal types, infer |
| 10 | Medium | Utility Types | Partial, Required, Pick, Omit, Record, Exclude, Extract, ReturnType, custom utilities |
| 11 | Hard | Type-Level Programming | Recursive types, distributive conditional types, tuple manipulation, type computation |
| 12 | Hard | Classes, this & Advanced OOP Types | Access modifiers, abstract classes, polymorphism, this types, class contracts |
| 13 | Hard | Module & Declaration System | ES modules, namespaces, .d.ts, declaration merging, module augmentation, declare |
| 14 | Hard | Compiler & TypeScript Configuration | tsconfig, strict mode, module resolution, target/module, project references, build strategy |
| 15 | Hard | Type-Safe API & Library Design | Public APIs, generics, discriminated unions, extensibility, backwards compatibility, runtime vs compile-time validation |
Use the sidebar to open any topic.