Argument of type 'ZodObject<{ email: ZodEffects<ZodString, string, string>; resend: ZodOptional<ZodBoolean>; }, "strip", ZodTypeAny, { email: string; resend?: boolean | undefined; }, { ...; }>' is not assignable to parameter of type 'ZodValidation<ZodObjectTypes>'.
Type 'ZodObject<{ email: ZodEffects<ZodString, string, string>; resend: ZodOptional<ZodBoolean>; }, "strip", ZodTypeAny, { email: string; resend?: boolean | undefined; }, { ...; }>' is not assignable to type 'AnyZodObject'.
Types have separate declarations of a private property '_cached'.
This started happening when I updated to v2.15.1 from v2.8.0
I'm using
sveltekit-superforms: 2.15.1
zod: 3.23.8
Description Given this setup:
I get the following error:
This started happening when I updated to v2.15.1 from v2.8.0
I'm using sveltekit-superforms: 2.15.1 zod: 3.23.8