What does HackerNews think of type-challenges?
Collection of TypeScript type challenges with online judge
I'm reminded of https://github.com/type-challenges/type-challenges -- I've only looked at some of the more challenging problems, but one involves writing a JSON parser in the type system. The easy problems look reasonably useful to solve.
The type challenges are a great thing to learn with. Admittedly, they're a bit intense but it's a great way to "expand your awareness".
As a shameless self plug, I'm participating in a 140-day long project to do them all (complete with video explanations) that just started yesterday, if you wanna follow along: https://github.com/type-challenges/type-challenges/issues/21...
type Equal = (() => T extends X ? 1 : 2) extends < T >() => T extends Y ? 1 : 2 ? true : false;
Understanding this requires a bit more context, but I'll explain why we need something so complicated in the Advanced Union Types chapter :)
I picked it from https://github.com/type-challenges/type-challenges which is an awesome resource too
I also recommend type-challenges: https://github.com/type-challenges/type-challenges
It works great with the VSCode extension.