Alex Grad @grad.dev · Dec 2

Day 2 of #AdventOfTypeScript is complete. The task was straightforward, but ironically, I spent more time overthinking it than solving it.

1 likes 2 replies

?

Replies

Alex Grad · Dec 2

I was able to submit this solution successfully as well. It is an acceptable solution for both days. @trash.supplies, is this behavior expected?

Christopher Horobin · Dec 2

Yeah, these simple ones throw me off. I missed // @ts-expect-error and thought it has to some how equal both `number` and `900_000` at the same time