From 556e135ff615c074d46769c8ac420892bf68af2b Mon Sep 17 00:00:00 2001 From: Daniel Siemens Date: Tue, 26 Nov 2024 11:16:29 -0800 Subject: [PATCH] chore: type fix --- .../models/definitions/user-preference-definition.ts | 2 +- .../user-preferences/models/storage-models/user-preference.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/user-preferences/models/definitions/user-preference-definition.ts b/src/services/user-preferences/models/definitions/user-preference-definition.ts index db5a43b90..0393884d1 100644 --- a/src/services/user-preferences/models/definitions/user-preference-definition.ts +++ b/src/services/user-preferences/models/definitions/user-preference-definition.ts @@ -3,5 +3,5 @@ import { type UserPreferenceScopeType } from './user-preference-scope-type' export interface UserPreferenceDefinition { isOptedInByDefault: boolean allowedScope: UserPreferenceScopeType - defaultData: unknown + defaultData: Record } diff --git a/src/services/user-preferences/models/storage-models/user-preference.ts b/src/services/user-preferences/models/storage-models/user-preference.ts index d6e5a6b35..f8c230bcb 100644 --- a/src/services/user-preferences/models/storage-models/user-preference.ts +++ b/src/services/user-preferences/models/storage-models/user-preference.ts @@ -1,4 +1,4 @@ export interface UserPreference { optedIn: boolean - data?: unknown + data?: Record }