Typescript type issues with validate after updating to v7.52.0 - TanStack