diff --git a/src/Downshift.re b/src/Downshift.re index fa80bf4..4964f68 100644 --- a/src/Downshift.re +++ b/src/Downshift.re @@ -55,7 +55,7 @@ module ControllerStateAndHelpers = { external getInputProps : (t, ~options: ReactDOMRe.reactDOMProps=?, unit) => any = ""; - [@bs.send] external extGetItemProps : (t, itemPropsOptions) => any = ""; + [@bs.send] external extGetItemProps : (t, itemPropsOptions) => any = "getItemProps"; [@bs.send] external itemPropsOptions : (t, ~options: itemPropsOptions) => any = ""; /* Actions */ diff --git a/src/Downshift.rei b/src/Downshift.rei index 3b1824e..6951ee0 100644 --- a/src/Downshift.rei +++ b/src/Downshift.rei @@ -51,7 +51,7 @@ module ControllerStateAndHelpers: { external getInputProps : (t, ~options: ReactDOMRe.reactDOMProps=?, unit) => any = ""; - [@bs.send] external extGetItemProps : (t, itemPropsOptions) => any = ""; + [@bs.send] external extGetItemProps : (t, itemPropsOptions) => any = "getItemProps"; [@bs.send] external itemPropsOptions : (t, ~options: itemPropsOptions) => any = ""; [@bs.send] external openMenu : (t, ~cb: cb=?, unit) => unit = "";