File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,9 @@ const RefSelect = generateSelector<SelectOptionsType>({
6262 fillOptionsWithMissingValue,
6363} ) ;
6464
65- export type SelectProps < ValueType extends DefaultValueType = DefaultValueType > = SelectProps <
66- SelectOptionsType ,
67- ValueType
68- > ;
65+ export type ExportedSelectProps <
66+ ValueType extends DefaultValueType = DefaultValueType
67+ > = SelectProps < SelectOptionsType , ValueType > ;
6968
7069/**
7170 * Typescript not support generic with function component,
Original file line number Diff line number Diff line change 1- import Select , { SelectProps } from './Select' ;
1+ import Select , { ExportedSelectProps as SelectProps } from './Select' ;
22import { RefSelectProps } from './generate' ;
33import Option from './Option' ;
44import OptGroup from './OptGroup' ;
You can’t perform that action at this time.
0 commit comments