diff --git a/src/behaviors/async.tsx b/src/behaviors/async.tsx index cb061621..0e0e01c3 100644 --- a/src/behaviors/async.tsx +++ b/src/behaviors/async.tsx @@ -18,7 +18,7 @@ import { optionType } from '../propTypes'; import { getDisplayName, isFunction, warn } from '../utils'; import { TypeaheadComponentProps } from '../components/Typeahead'; -import type { Option } from '../types'; +import type { OptionType } from '../types'; const propTypes = { /** @@ -57,7 +57,7 @@ const propTypes = { useCache: PropTypes.bool, }; -export interface UseAsyncProps extends TypeaheadComponentProps { +export interface UseAsyncProps