Topics
v6.0.0
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.

IDLevelTopicCovers
01EasyType System FundamentalsType inference, annotations, structural typing, type compatibility, widening/narrowing
02Easyany vs unknown vs never vs voidSpecial types, safe boundaries, exhaustiveness, function return types
03EasyUnion & Intersection TypesUnions, intersections, discriminated unions, narrowing patterns
04MediumType Narrowing & Type Guardstypeof, in, instanceof, custom guards, assertion functions
05MediumGenericsGeneric functions/types/classes, constraints, defaults, inference
06MediumFunctions & VarianceFunction types, overloads, optional/rest params, covariance, contravariance
07MediumInterfaces vs Type AliasesDeclaration merging, extension, intersections, design trade-offs
08MediumMapped & Conditional Typeskeyof, indexed access, mapped types, conditional types, infer
09HardAdvanced Type Operatorstypeof, keyof, indexed access, template literal types, infer
10MediumUtility TypesPartial, Required, Pick, Omit, Record, Exclude, Extract, ReturnType, custom utilities
11HardType-Level ProgrammingRecursive types, distributive conditional types, tuple manipulation, type computation
12HardClasses, this & Advanced OOP TypesAccess modifiers, abstract classes, polymorphism, this types, class contracts
13HardModule & Declaration SystemES modules, namespaces, .d.ts, declaration merging, module augmentation, declare
14HardCompiler & TypeScript Configurationtsconfig, strict mode, module resolution, target/module, project references, build strategy
15HardType-Safe API & Library DesignPublic APIs, generics, discriminated unions, extensibility, backwards compatibility, runtime vs compile-time validation

Use the sidebar to open any topic.

Last updated on