Closed 43081j closed 2 years ago
This updates typescript from 4.3 to 4.4.
4.4 introduces new behaviour where catch blocks are given an unknown rather than Error. do we want to change the logic like i've done here or just switch that behaviour off?
unknown
Error
cc @justinfagnani @rictic
inferring unknown by default for errors is definitely the more correct option, nice that it's such a small change!
This updates typescript from 4.3 to 4.4.
4.4 introduces new behaviour where catch blocks are given an
unknown
rather thanError
. do we want to change the logic like i've done here or just switch that behaviour off?cc @justinfagnani @rictic