Skip to content

Commit b0b527b

Browse files
committed
fix: trim select type exports
1 parent 627fa3b commit b0b527b

1 file changed

Lines changed: 4 additions & 25 deletions

File tree

src/index.ts

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,12 @@ import Option from './Option';
33
import OptGroup from './OptGroup';
44
import type { BaseOptionType, DefaultOptionType, SearchConfig, SelectProps } from './Select';
55
import BaseSelect from './BaseSelect';
6-
import type {
7-
BaseSelectProps,
8-
BaseSelectPropsWithoutPrivate,
9-
BaseSelectRef,
10-
BaseSelectSemanticName,
11-
DisplayValueType,
12-
RefOptionListProps,
13-
} from './BaseSelect';
6+
import type { BaseSelectProps, BaseSelectRef, BaseSelectPropsWithoutPrivate } from './BaseSelect';
147
import useBaseProps from './hooks/useBaseProps';
15-
import type { OptionFC, OptionProps } from './Option';
16-
import type { Placement } from './interface';
8+
import type { OptionProps } from './Option';
179

1810
export { Option, OptGroup, BaseSelect, useBaseProps };
19-
export type {
20-
BaseOptionType,
21-
BaseSelectProps,
22-
BaseSelectPropsWithoutPrivate,
23-
BaseSelectRef,
24-
BaseSelectSemanticName,
25-
DefaultOptionType,
26-
DisplayValueType,
27-
OptionFC,
28-
OptionProps,
29-
Placement,
30-
RefOptionListProps,
31-
SearchConfig,
32-
SelectProps,
33-
};
11+
export type { BaseOptionType, DefaultOptionType, OptionProps, SearchConfig };
12+
export type { SelectProps, BaseSelectProps, BaseSelectRef, BaseSelectPropsWithoutPrivate };
3413

3514
export default Select;

0 commit comments

Comments
 (0)