Fix compile errors introduced by typescript 4.4.2

4.4.2 introduces a breaking change that the variable in a catch clause
is now `unknown` type. So, we need to cast the `e`, `err`, or `error`
variables to type `Error`.
This commit is contained in:
Andrew Eisenberg 2021-09-10 13:53:13 -07:00
parent 5b28adb7ed
commit 40568daca8
83 changed files with 601 additions and 576 deletions

View file

@ -1,6 +1,6 @@
{
"name": "normalize-url",
"version": "7.0.1",
"version": "7.0.2",
"description": "Normalize a URL",
"license": "MIT",
"repository": "sindresorhus/normalize-url",