What does HackerNews think of type-challenges?

Collection of TypeScript type challenges with online judge

Language: TypeScript

#36 in TypeScript
Just do some basic functional programming. And/or do some of these challenges and don't feel like a cheater if you look at other peoples solutions: https://github.com/type-challenges/type-challenges
Why did they only solve for 7 Queens and not 8 Queens?

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.

https://github.com/type-challenges/type-challenges

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...

Actually, this won't work with union types! The definition of `Equal` I use is this one:

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

Wow I think I know a lot of Typescript but I'll have to go through it because I'm always asked for ressources to get started and this one seem great.

I also recommend type-challenges: https://github.com/type-challenges/type-challenges

It works great with the VSCode extension.