Alex Grad @grad.dev · Dec 16

Here's a "brute force" solution as a bonus:

4 likes 2 replies

?

Replies

Alex Grad · Dec 16

Here's the fixed solution, as the previous one was not working correctly. Thanks to @andarist.bsky.social for pointing out the problem.

Etienne · Dec 16

😱 Honestly, I think 'no-explicit-any' should be turned on and cause errors. I don't think I've seen one where it wouldn't lead to better solutions.