diff --git a/types/react-select/index.d.ts b/types/react-select/index.d.ts index eae34b6905..7141e92534 100644 --- a/types/react-select/index.d.ts +++ b/types/react-select/index.d.ts @@ -27,7 +27,7 @@ declare namespace ReactSelectClass { type FocusOptionHandler = (option: Option) => void; type SelectValueHandler = (option: Option) => void; type ArrowRendererHandler = (props: ArrowRendererProps) => HandlerRendererResult; - type FilterOptionHandler = (option: Option, filter: string) => Option; + type FilterOptionHandler = (option: Option, filter: string) => boolean; type FilterOptionsHandler = (options: Options, filter: string, currentValues: Options) => Options; type InputRendererHandler = (props: { [key: string]: any }) => HandlerRendererResult; type MenuRendererHandler = (props: MenuRendererProps) => HandlerRendererResult;