diff --git a/packages/conform-react/helpers.ts b/packages/conform-react/helpers.ts index 19187390..eb3f1674 100644 --- a/packages/conform-react/helpers.ts +++ b/packages/conform-react/helpers.ts @@ -240,10 +240,10 @@ export function getFormControlProps( * * ``` */ -export function getInputProps( +export function getInputProps( metadata: FieldMetadata, - options: InputOptions, -): InputProps { + options: Options, +): InputProps & Pick { const props: InputProps = { ...getFormControlProps(metadata, options), type: options.type,