diff --git a/types/react-select/src/components/index.d.ts b/types/react-select/src/components/index.d.ts index cbba375561..b6887dca49 100644 --- a/types/react-select/src/components/index.d.ts +++ b/types/react-select/src/components/index.d.ts @@ -82,7 +82,11 @@ export interface SelectComponents { export type SelectComponentsConfig = Partial>; -export const components: Required>; +export type DeepNonNullable = { + [P in keyof T]-?: NonNullable; +}; + +export const components: Required>>; export interface Props { components: SelectComponentsConfig;