Type Alias ZodDiscriminatedUnionOption<Discriminator>

ZodDiscriminatedUnionOption: Zod.z.ZodObject<
    { [key in Discriminator]: Zod.z.ZodTypeAny } & Zod.z.ZodRawShape,
    Zod.z.UnknownKeysParam,
    Zod.z.ZodTypeAny,
>

Type Parameters

  • Discriminator extends string