Extra content from the Type-Level TypeScript course, written by Gabriel Vergnaud.
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.