TypeHero
Solve type-level TypeScript puzzles in a browser editor
TypeHero is a free site of TypeScript type challenges. Each one asks you to write a type, such as your own version of Awaited, Includes or CamelCase, in a browser code editor, and test cases check that it works. After you solve a challenge you can share your solution and read and comment on other players' answers.
Free · Login needed · Browser · Intermediate

About TypeHero
The puzzles train the type system in depth: generics, conditional types, mapped types and recursion. Challenges are sorted from beginner to extreme, and a TypeScript Foundations track has 12 guided challenges. Many problems are ported from the type-challenges project and credited on each page.
It is open source under AGPL-3.0. You can read challenges without an account, but you sign in with GitHub to submit. The project also hosts Advent of TypeScript, a December event.
Made this game? Claim it →

Tips and discussion
No tips yet.
Sign in to share a tip.