You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The update from TypeScript 3.9.7 to 4.5.4 brings increased type strictness (introduced in 4.4). Previously, exceptions
were used in some catch blocks based on an assumption of their type. But exceptions can have any type and that now
results in errors (TS2345, TS2571). This is fixed by narrowing the exceptions to the expected type before using them as
such.
0 commit comments