Path 03 of 7
TypeScript Type Gymnastics
Mapped, conditional and recursive types you can verify with tsc
- keyof, typeof & indexed access
- Generics & constraints
- Mapped types
- Conditional types & infer
- Template literal types
- Recursive types
- Narrowing & discriminated unions
- Type-safe event emitters
- 01Implement Pick<T, K>easy · coding · ~6 min
- 02Implement Nullable<T>easy · coding · ~6 min
- 03Implement DeepReadonly<T>medium · coding · ~12 min
- 04Extract Function Arguments with infermedium · coding · ~10 min
- 05Build a Type-Safe Event Emitterhard · coding · ~25 min
5 of a target 12–15 challenges are available.