runem / web-component-analyzer

CLI that analyzes web components and emits documentation
https://runem.github.io/web-component-analyzer
MIT License
500 stars 61 forks source link

chore: upgrade typescript to 4.4.x #231

Closed 43081j closed 2 years ago

43081j commented 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?

cc @justinfagnani @rictic

rictic commented 2 years ago

inferring unknown by default for errors is definitely the more correct option, nice that it's such a small change!