Skip to content

Commit c831cb7

Browse files
committed
fix: ts define
1 parent b662f1c commit c831cb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Select.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ export type SelectProps<ValueType extends DefaultValueType = DefaultValueType> =
7272
* we have to wrap an class component to handle this.
7373
*/
7474
class Select<VT> extends React.Component<SelectProps<SelectOptionsType, VT>> {
75-
static Option = Option;
75+
static Option: typeof Option = Option;
7676

77-
static OptGroup = OptGroup;
77+
static OptGroup: typeof OptGroup = OptGroup;
7878

7979
selectRef = React.createRef<RefSelectProps>();
8080

0 commit comments

Comments
 (0)