Advanced Static Types in TypeScript

This repository contains the code for my Advanced Static Types in TypeScript video course.

Advanced Static Types in TypeScript

Lessons

  1. Restrict null and undefined via Non-Nullable-Types in TypeScript
  2. Understand TypeScript’s Control Flow Based Type Analysis
  3. Define Custom Type Guard Functions in TypeScript
  4. Make Properties and Index Signatures Readonly in TypeScript
  5. Represent Non-Primitive Types with TypeScript’s object Type
  6. Use TypeScript’s never Type for Exhaustiveness Checking
  7. Overload a Function with TypeScript’s Overload Signatures
  8. Collect Related Strings in a String Enum in TypeScript
  9. Specify Exact Values with TypeScript’s Literal Types
  10. Model Alternatives with Discriminated Union Types in TypeScript
  11. Infer Types for Rest and Spread Properties in TypeScript
  12. Query Properties with keyof and Lookup Types in TypeScript
  13. Transform Existing Types Using Mapped Types in TypeScript