From e1b5e92304ee8c73982c87257a95583146e7b126 Mon Sep 17 00:00:00 2001 From: Cristi Ciobanu Date: Thu, 19 Dec 2024 21:21:07 +0100 Subject: [PATCH] Export EmptyAsValue and RedwoodRegisterOptions from packages/forms (#11783) Useful to people like me that have custom input fields. Would be nice to have these types exposed so I can use them directly instead of re declaring them myself. --- packages/forms/src/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/forms/src/index.tsx b/packages/forms/src/index.tsx index 1da8aafb0098..cb094d5e9a9c 100644 --- a/packages/forms/src/index.tsx +++ b/packages/forms/src/index.tsx @@ -49,6 +49,7 @@ export * from 'react-hook-form' export { CheckboxField } from './CheckboxField' +export type { EmptyAsValue, RedwoodRegisterOptions } from './coercion' export { FieldError } from './FieldError' export { Form, FormProps } from './Form' export { default as FormError } from './FormError'