diff --git a/packages/components/inputs/async-select-input/src/async-select-input.tsx b/packages/components/inputs/async-select-input/src/async-select-input.tsx index c10c796222..f650d94714 100644 --- a/packages/components/inputs/async-select-input/src/async-select-input.tsx +++ b/packages/components/inputs/async-select-input/src/async-select-input.tsx @@ -1,8 +1,11 @@ -import type { ReactNode, FocusEvent } from 'react'; +import type { ReactNode } from 'react'; import { useIntl } from 'react-intl'; import isEmpty from 'lodash/isEmpty'; import { components as defaultComponents, + InputProps, + OnChangeValue, + SelectComponentsConfig, type ActionMeta, type GroupBase, type OptionsOrGroups, @@ -31,18 +34,30 @@ const customizedComponents = { MultiValueRemove: TagRemove, }; -type TCustomEvent = { +type TCustomEvent< + Option, + isMulti extends boolean, + Group extends GroupBase