diff --git a/react-select/index.d.ts b/react-select/index.d.ts index a9c00c9c4d..958298855c 100644 --- a/react-select/index.d.ts +++ b/react-select/index.d.ts @@ -368,7 +368,7 @@ declare namespace ReactSelectClass { /** * factory to create new options */ - newOptionCreator?: (input: string) => Option; + newOptionCreator?: (arg: { label: string, labelKey: string, valueKey: string }) => Option; /** * Creates prompt/placeholder for option text.