Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The update to 4.4.2 brings increased type strictness. 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.
- Loading branch information