Skip to content

Commit

Permalink
Export Vue's InertiaFormProps
Browse files Browse the repository at this point in the history
  • Loading branch information
Spice-King authored and pedroborges committed Sep 23, 2024
1 parent ee1aea7 commit f8557cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vue2/src/useForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { reactive, watch } from 'vue'

type FormDataType = object

interface InertiaFormProps<TForm extends FormDataType> {
export interface InertiaFormProps<TForm extends FormDataType> {
isDirty: boolean
errors: Record<keyof TForm, string>
hasErrors: boolean
Expand Down
2 changes: 1 addition & 1 deletion packages/vue3/src/useForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { reactive, watch } from 'vue'

type FormDataType = object

interface InertiaFormProps<TForm extends FormDataType> {
export interface InertiaFormProps<TForm extends FormDataType> {
isDirty: boolean
errors: Partial<Record<keyof TForm, string>>
hasErrors: boolean
Expand Down

0 comments on commit f8557cb

Please sign in to comment.