mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Update to TypeScript 5.2.2
tsconfig has to be different for tests due to cjs/esm issues with jest. Deploy scripts need to use the original tsconfig though, which is why we have the current nested tsconfigs.
This commit is contained in:
@@ -48,7 +48,7 @@ export class BaseLoginAccountStorage<T extends IndexTypeCollection<T>> implement
|
||||
Promise<void> {
|
||||
// Determine potential new key pointing to account ID
|
||||
this.accountKeys[type] = Object.entries(description)
|
||||
.find(([ , desc ]): boolean => desc === `id:${ACCOUNT_TYPE}`)?.[0];
|
||||
.find(([ , desc ]): boolean => desc === `id:${ACCOUNT_TYPE}` as `id:${string & keyof T}`)?.[0];
|
||||
|
||||
if (type === ACCOUNT_TYPE) {
|
||||
description = { ...description, ...MINIMUM_ACCOUNT_DESCRIPTION };
|
||||
|
||||
Reference in New Issue
Block a user