Julian @fettstorch.dev · Nov 21

And I learned that typescript is actually smart enough to determine code as unreachable if it follows a function call that returns never e.g.:

1 likes 1 replies

?

Replies

Julian · Nov 21

unless... the never returning function is received as a function argument for some reason 🫩 (which is the case for my retry function 😭)