Losing all types when consuming form hook from component library - TanStack