authelia/web/src/views
renovate[bot] 5f2edf3d42
build(deps): update dependency typescript to v4.4.2 (#2321)
* build(deps): update dependency typescript to v4.4.2

* fix(web): cast try catch err type to error

Typescript 4.x changes the default behaviour of try catch and its err type from `any` to [`unknown`](https://github.com/microsoft/TypeScript/pull/41013).

This change ensures that where we rely on said variable it is cast accordingly as an `Error`.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-09-04 23:27:11 +10:00
..
DeviceRegistration fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
LoadingPage test(web): drop enzyme in favor of react-testing-library (#2224) 2021-08-03 16:25:13 +10:00
LoginPortal refactor(web): replace incorrect use of usecallback (#2308) 2021-09-04 22:31:24 +10:00
ResetPassword build(deps): update dependency typescript to v4.4.2 (#2321) 2021-09-04 23:27:11 +10:00