diff --git a/packages/vue2/src/useForm.ts b/packages/vue2/src/useForm.ts index 3ff255209..da069c385 100644 --- a/packages/vue2/src/useForm.ts +++ b/packages/vue2/src/useForm.ts @@ -5,7 +5,7 @@ import { reactive, watch } from 'vue' type FormDataType = object -interface InertiaFormProps { +export interface InertiaFormProps { isDirty: boolean errors: Record hasErrors: boolean diff --git a/packages/vue3/src/useForm.ts b/packages/vue3/src/useForm.ts index efdafd87c..9c3431045 100644 --- a/packages/vue3/src/useForm.ts +++ b/packages/vue3/src/useForm.ts @@ -5,7 +5,7 @@ import { reactive, watch } from 'vue' type FormDataType = object -interface InertiaFormProps { +export interface InertiaFormProps { isDirty: boolean errors: Partial> hasErrors: boolean