Skip to content

Commit ab5c2c6

Browse files
committed
chore: required added in types
1 parent 25593d8 commit ab5c2c6

File tree

1 file changed

+3
-3
lines changed
  • src/Shared/Hooks/useUserPreferences

1 file changed

+3
-3
lines changed

src/Shared/Hooks/useUserPreferences/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ export interface UseUserPreferencesProps {
8181
export type UserPathValueMapType =
8282
| {
8383
path: 'themePreference'
84-
value: Pick<UpdatedUserPreferencesType, 'themePreference' | 'appTheme'>
84+
value: Required<Pick<UpdatedUserPreferencesType, 'themePreference' | 'appTheme'>>
8585
}
8686
| {
8787
path: 'pipelineRBACViewSelectedTab'
88-
value: Pick<UserPreferencesType, 'pipelineRBACViewSelectedTab'>
88+
value: Required<Pick<UserPreferencesType, 'pipelineRBACViewSelectedTab'>>
8989
}
9090
| {
9191
path: 'resources'
92-
value: BaseAppMetaData[]
92+
value: Required<BaseAppMetaData[]>
9393
}
9494

9595
export type UserPreferenceResourceProps = UserPathValueMapType & {

0 commit comments

Comments
 (0)