Skip to content

Commit

Permalink
improve minimumAppVersion TS types
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoloureirop committed Nov 27, 2024
1 parent 9a35568 commit 8c305c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const FEATURE_FLAG_NAME = 'mobileMinimumVersions';

export interface FeatureFlagType {
[FEATURE_FLAG_NAME]: {
[featureFlagName: string]: {
appMinimumBuild: number;
appleMinimumOS: number;
androidMinimumAPIVersion: number;
Expand Down
2 changes: 1 addition & 1 deletion app/selectors/featureFlagController/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const mockedState = {
RemoteFeatureFlagController: {
remoteFeatureFlags: [
mockedMinimumAppVersion
],
] as FeatureFlags,
cacheTimestamp: 0,
},
},
Expand Down

0 comments on commit 8c305c1

Please sign in to comment.