Skip to content
Sign inGet all access

TypeScriptPaid

Structural typing, generics, narrowing, and the config that decides everything.

13 chapters · ~3.5 hours · 3 free

Chapters

  1. 01Getting StartedChecking a file with tsc, reading its errors, and types that vanish.12 minFree→
  2. 02The Type SystemStructural typing, unions, literal types, and any versus unknown.32 minFree→
  3. 03NarrowingHow the checker follows control flow, and exhaustiveness with never.32 minFree→
  4. 04FunctionsParameter and return types, overloads, and typing this.22 min→
  5. 05GenericsType parameters, constraints, keyof, and when not to reach for one.24 min→
  6. 06Utility TypesPartial, Pick, Omit, Record, and writing your own mapped type.26 min→
  7. 07Conditional Types & inferTypes that branch, infer, variance, distribution and recursion.26 min→
  8. 08Classes and OOPField types, private being compile-time only, and erasableSyntaxOnly.24 min→
  9. 09Types at the BoundaryWhere the checker stops — JSON.parse, assertions, and validating.22 min→
  10. 10tsconfigstrict, strictNullChecks, target, module — the file that decides what TS means.18 min→
  11. 11Declaration FilesReading a .d.ts, @types packages, and declare module.14 min→
  12. 12Type-Level Patternssatisfies, as const, branded types, and template literal types.24 min→
  13. 13Tooling and MigrationEditor diagnostics, migrating a file, and the errors you will hit.12 min→