Const
An example zod object for demonstration. This is declared as:
export const abc = zod.object({ prop: zod.string(), other: zod.object({ arr: zod.array(zod.number()), }), opt: z.string().optional(), def: z.string().default("abc"),}); Copy
export const abc = zod.object({ prop: zod.string(), other: zod.object({ arr: zod.array(zod.number()), }), opt: z.string().optional(), def: z.string().default("abc"),});
An example zod object for demonstration. This is declared as: