diff --git a/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.spec.ts b/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.spec.ts index f79b480e3..8c1912295 100644 --- a/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.spec.ts +++ b/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.spec.ts @@ -41,7 +41,6 @@ describe('When testing CompositeUserPreferencesService', () => { ) // assert - // eslint-disable-next-line @typescript-eslint/no-unsafe-argument Object.entries(actualScopedUserPreferences).forEach(([preferenceId, actualPreference]) => { const definition = definitions[preferenceId as TestUserPreferenceId] const expectedScopedUserPreferences = { optedIn: definition?.isOptedInByDefault, data: definition?.defaultData } diff --git a/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.ts b/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.ts index 669da40d2..f51e1e457 100644 --- a/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.ts +++ b/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.ts @@ -17,7 +17,6 @@ export class CompositeUserPreferencesService currentScope: UserPreferenceScope, definitions: UserPreferenceDefinitions, ): CompositeUserPreferences { - // eslint-disable-next-line @typescript-eslint/no-unsafe-argument const entriesByIdAndUserPreference = Object.entries(definitions).map<[TPreferenceIds, UserPreference]>( // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-expect-error