Skip to content

Commit 1349bae

Browse files
committed
fix: update typing for CONFIGURATION_TYPE_OPTIONS
1 parent 937327b commit 1349bae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Shared/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import {
2828
VariableType,
2929
RefVariableType,
3030
PluginType,
31+
SegmentedControlProps,
3132
} from '../Common'
3233
import { BASE_CONFIGURATION_ENV_ID, EnvironmentTypeEnum, PatchOperationType } from './constants'
3334
import { SelectPickerOptionType } from './Components'
@@ -704,7 +705,7 @@ export enum ConfigurationType {
704705
YAML = 'YAML',
705706
}
706707

707-
export const CONFIGURATION_TYPE_OPTIONS: OptionType<ConfigurationType, ConfigurationType>[] = [
708+
export const CONFIGURATION_TYPE_OPTIONS: SegmentedControlProps['segments'] = [
708709
{ label: ConfigurationType.GUI, value: ConfigurationType.GUI },
709710
{ label: ConfigurationType.YAML, value: ConfigurationType.YAML },
710711
] as const

0 commit comments

Comments
 (0)