diff --git a/app/selectors/featureFlagController/minimumAppVersion/types.ts b/app/selectors/featureFlagController/minimumAppVersion/types.ts index 0368ba74095..babfb729ad9 100644 --- a/app/selectors/featureFlagController/minimumAppVersion/types.ts +++ b/app/selectors/featureFlagController/minimumAppVersion/types.ts @@ -1,7 +1,7 @@ export const FEATURE_FLAG_NAME = 'mobileMinimumVersions'; export interface FeatureFlagType { - [FEATURE_FLAG_NAME]: { + [featureFlagName: string]: { appMinimumBuild: number; appleMinimumOS: number; androidMinimumAPIVersion: number; diff --git a/app/selectors/featureFlagController/mocks.ts b/app/selectors/featureFlagController/mocks.ts index 8672e38fb79..84c97da5d03 100644 --- a/app/selectors/featureFlagController/mocks.ts +++ b/app/selectors/featureFlagController/mocks.ts @@ -7,7 +7,7 @@ export const mockedState = { RemoteFeatureFlagController: { remoteFeatureFlags: [ mockedMinimumAppVersion - ], + ] as FeatureFlags, cacheTimestamp: 0, }, },