diff --git a/packages/@react-types/combobox/src/index.d.ts b/packages/@react-types/combobox/src/index.d.ts index 7a00ecf44f6..1b37619c741 100644 --- a/packages/@react-types/combobox/src/index.d.ts +++ b/packages/@react-types/combobox/src/index.d.ts @@ -36,7 +36,7 @@ import { export type MenuTriggerAction = 'focus' | 'input' | 'manual'; export type SelectionMode = 'single' | 'multiple'; export type ValueType = M extends 'single' ? Key | null : Key[]; -type ValidationType = M extends 'single' ? Key : Key[]; +type ValidationType = M extends 'single' ? Key | null : Key[]; export interface ComboBoxValidationValue { /** @@ -50,7 +50,7 @@ export interface ComboBoxValidationValue { inputValue: string } -export interface ComboBoxProps extends CollectionBase, InputBase, ValueBase>, TextInputBase, Validation, FocusableProps, LabelableProps, HelpTextProps { +export interface ComboBoxProps extends CollectionBase, InputBase, ValueBase>, TextInputBase, Validation>, FocusableProps, LabelableProps, HelpTextProps { /** The list of ComboBox items (uncontrolled). */ defaultItems?: Iterable, /** The list of ComboBox items (controlled). */