Type Parameters

Hierarchy (View Summary)

Constructors

Properties

_input: T["_input"] & U["_input"]
_output: T["_output"] & U["_output"]
_type: T["_output"] & U["_output"]
spa: (
    data: unknown,
    params?: Partial<ParseParams>,
) => Promise<
    SafeParseReturnType<
        T["_input"] & U["_input"],
        T["_output"] & U["_output"],
    >,
>

Alias of safeParseAsync

create: <
    T_1 extends ZodType<any, any, any, T_1>,
    U_1 extends ZodType<any, any, any, U_1>,
>(
    left: T_1,
    right: U_1,
    params?: RawCreateParams,
) => ZodIntersection<T_1, U_1>

Accessors

  • get description(): undefined | string
  • Returns undefined | string

Methods

  • Parameters

    Returns string

  • Parameters

    Returns ZodEffects<
        ZodIntersection<T, U>,
        T["_output"] & U["_output"],
        T["_input"] & U["_input"],
    >

  • Parameters

    • description: string

    Returns this

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns T["_output"] & U["_output"]

  • Parameters

    Returns Promise<T["_output"] & U["_output"]>

  • Parameters

    Returns Promise<
        SafeParseReturnType<
            T["_input"] & U["_input"],
            T["_output"] & U["_output"],
        >,
    >