Zod 4's ZodType<T> leaves the input side as unknown, while the resolver requires the input to extend FieldValues. Pin both sides:
With the input typed as T, standardSchemaResolver infers Resolver<T, unknown, T> and the assignment succeeds — no cast needed.