Browse Source

fix(Select): export SelectInterface to avoid ts error (#27838)

pull/27854/head
pd 4 years ago
committed by GitHub
parent
commit
bc566c0731
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/select/index.tsx

2
components/select/index.tsx

@ -150,7 +150,7 @@ const SelectRef = React.forwardRef(InternalSelect) as <VT extends SelectValue =
type InternalSelectType = typeof SelectRef;
interface SelectInterface extends InternalSelectType {
export interface SelectInterface extends InternalSelectType {
SECRET_COMBOBOX_MODE_DO_NOT_USE: string;
Option: typeof Option;
OptGroup: typeof OptGroup;

Loading…
Cancel
Save