wellcomecollection / wellcomecollection.org

🪟 Wellcome Collection's website and services that support it
https://wellcomecollection.org
MIT License
37 stars 5 forks source link

Fix TS errors on Auth0 utility file #10980

Open rcantin-w opened 2 days ago

rcantin-w commented 2 days ago

With the new TS checks and aligned config, more errors were flagged. One of them I left for another time and am just ignoring TSC in that file as I was worried about changes to our Auth0 setup.

This file: https://github.com/wellcomecollection/wellcomecollection.org/blob/main/identity/webapp/src/utility/auth0.ts Errors need to be addressed. From quickly having gone in and trying to do it, the fix might have consequences in other files so I'd recommend using yarn tsc throughout the fix to find them!