Skip to content

Commit c723a25

Browse files
move select augmentation to proper folder, re-export some things
1 parent f188175 commit c723a25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

select.d.ts renamed to src/typings/select.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ declare module "react-select" {
44
import { StateManagerAdditionalProps } from "react-select/dist/declarations/src/useStateManager";
55
import { Props } from "react-select/dist/declarations/src/Select";
66
import Select from "react-select/dist/declarations/src/Select";
7+
export * from "react-select/dist/declarations/src/types";
78
declare type StateManagedPropKeys = 'inputValue' | 'menuIsOpen' | 'onChange' | 'onInputChange' | 'onMenuClose' | 'onMenuOpen' | 'value';
89
declare type PublicBaseSelectProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> = JSX.LibraryManagedAttributes<typeof Select, Props<Option, IsMulti, Group>>;
910
declare type SelectPropsWithOptionalStateManagedProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>> = Omit<PublicBaseSelectProps<Option, IsMulti, Group>, StateManagedPropKeys> & Partial<PublicBaseSelectProps<Option, IsMulti, Group>>;

0 commit comments

Comments
 (0)