Chapters

  • 0. Introduction

    Free

  • 1. Types & Values

    Free

  • 2. Types are just data

    Free

  • 3. Objects & Records

    Free

  • 4. Arrays & Tuples

    Free

  • 5. Conditional Types
  • 6. Loops with Recursive Types
  • 7. Template Literal Types
  • 8. The Union Type Multiverse
  • 9. Loops with Mapped Types
  • 10. Assignability Quiz
  • 11. Designing Type-Safe APIs
  • 12. Conclusion

Articles

Subscribe

About

Made with ❤️ by @GabrielVergnaud

|Chapters|Articles
TypeScript Articles

Extra content from the Type-Level TypeScript course, written by Gabriel Vergnaud.

Type Catalogs 📘 a better way to work with union types

Type catalogs make it easier to work with large unions of objects in TypeScript. Let's learn how to use them!

How to get optional keys from object types?

Let's build a reusable type helper to get all optional keys from an object type in TypeScript.

Difference between object and {} in TypeScript

Is the object type an alias for the {} empty object in TypeScript? I used to think so, but I was wrong. Let's explore their differences.

One Hour Advanced TypeScript Workshop

TypeScript has one of the most amazing type systems out there. In this workshop, we'll discover the world of type-level programming by solving fun, interactive challenges!

Making Generic Functions Pass Type Checking

When using advanced TypeScript patterns like Conditional Types, Mapped Types or Recursive Types, making the type-checker accept our code is sometimes challenging. Here is the best way to make it work.