--

`useUnknownInCatchVariables` is nice but... doesn't work for Promise#catch. So we really need to make the rule 'always catch `unknown`s and type them as such'.

Commandment #5 is a big no for me - feels like we're back to callback-style of error handling (you will need `if` statements to check for errors).

The rest was a pleasure to read. Thank you for the article.

--

--

No responses yet