Added explicit any type on caught errors where needed

This commit is contained in:
Alejandro Celaya
2021-10-31 12:38:42 +01:00
parent e5f99d0893
commit 944b166e43
11 changed files with 11 additions and 11 deletions

View File

@@ -125,7 +125,7 @@ export default class ShlinkApiClient {
data: body,
paramsSerializer: stringifyQuery,
});
} catch (e) {
} catch (e: any) {
const { response } = e;
// Due to a bug on all previous Shlink versions, requests to non-matching URLs will always result on a CORS error