diff --git a/src/Select/index.tsx b/src/Select/index.tsx index b1983b60..8d909c92 100644 --- a/src/Select/index.tsx +++ b/src/Select/index.tsx @@ -5,7 +5,6 @@ import React, { ForwardedRef, forwardRef, ReactElement, - ReactNode, RefAttributes, useCallback, } from 'react'; @@ -86,7 +85,7 @@ export const Select = forwardRef< TOption extends BaseOptionType | DefaultOptionType = DefaultOptionType, >( props: SelectProps & RefAttributes, -) => ReactNode) & { +) => ReactElement) & { Option: typeof AntdSelect.Option; OptGroup: typeof AntdSelect.OptGroup; };