Type Alias ZodDiscriminatedUnionOption<Discriminator>

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

Type Parameters

  • Discriminator extends string