validateSearch does not correctly type the Route.useSearch() hook - TanStack