This repository contains the code for my Advanced Static Types in TypeScript video course.
- Restrict null and undefined via Non-Nullable-Types in TypeScript
- Understand TypeScript’s Control Flow Based Type Analysis
- Define Custom Type Guard Functions in TypeScript
- Make Properties and Index Signatures Readonly in TypeScript
- Represent Non-Primitive Types with TypeScript’s object Type
- Use TypeScript’s never Type for Exhaustiveness Checking
- Overload a Function with TypeScript’s Overload Signatures
- Collect Related Strings in a String Enum in TypeScript
- Specify Exact Values with TypeScript’s Literal Types
- Model Alternatives with Discriminated Union Types in TypeScript
- Infer Types for Rest and Spread Properties in TypeScript
- Query Properties with keyof and Lookup Types in TypeScript
- Transform Existing Types Using Mapped Types in TypeScript