mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
chore: improve select ref type (#27594)
This commit is contained in:
parent
18054b8cc9
commit
da681fe4dd
@ -145,7 +145,7 @@ const InternalSelect = <VT extends SelectValue = SelectValue>(
|
||||
};
|
||||
|
||||
const SelectRef = React.forwardRef(InternalSelect) as <VT extends SelectValue = SelectValue>(
|
||||
props: SelectProps<VT> & { ref?: React.Ref<HTMLInputElement> },
|
||||
props: SelectProps<VT> & { ref?: React.Ref<RefSelectProps> },
|
||||
) => React.ReactElement;
|
||||
|
||||
type InternalSelectType = typeof SelectRef;
|
||||
|
Loading…
Reference in New Issue
Block a user