Currently "useForm" from InertiaJS library support to pass a interface as generic, however "useForm" from "laravel-precognition-vue-inertia" only allows to pass a type that extends Record<string, unknown>. The fact to useForm uses a different signature it will force to convert all the form interfaces into types.
Using the keyword "satisfies" will solve the problem, however the linter will not suggest the interface properties.
It can be a good idea to support interfaces so it can facilitate the migration for InertiaJS useForm to Laravel Precognition useForm.
Currently "useForm" from InertiaJS library support to pass a interface as generic, however "useForm" from "laravel-precognition-vue-inertia" only allows to pass a type that extends Record<string, unknown>. The fact to useForm uses a different signature it will force to convert all the form interfaces into types.
Using the keyword "satisfies" will solve the problem, however the linter will not suggest the interface properties.
It can be a good idea to support interfaces so it can facilitate the migration for InertiaJS useForm to Laravel Precognition useForm.