diff --git a/frontend/src/pages/projects/types.ts b/frontend/src/pages/projects/types.ts index ff238eaa44..c0e14df77d 100644 --- a/frontend/src/pages/projects/types.ts +++ b/frontend/src/pages/projects/types.ts @@ -9,12 +9,14 @@ import { Volume, VolumeMount, } from '~/types'; -import { ValueOf } from '~/typeHelpers'; import { AWSSecretKind } from '~/k8sTypes'; import { AcceleratorProfileState } from '~/utilities/useAcceleratorProfileState'; import { AwsKeys } from './dataConnections/const'; -export type UpdateObjectAtPropAndValue = (propKey: keyof T, propValue: ValueOf) => void; +export type UpdateObjectAtPropAndValue = ( + propKey: K, + propValue: T[K], +) => void; export type NameDescType = { name: string;