interface UnionSchema
implements BaseSchema<InferInput<TOptions[number]>, InferOutput<TOptions[number]>, UnionIssue<InferIssue<TOptions[number]>> | InferIssue<TOptions[number]>>
import { type UnionSchema } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/schemas/union/union.ts";
Union schema type.
Type Parameters
TOptions extends UnionOptions
TMessage extends ErrorMessage<UnionIssue<InferIssue<TOptions[number]>>> | undefined