interface OptionalSchema
implements BaseSchema<InferInput<TWrapped> | undefined, InferOptionalOutput<TWrapped, TDefault>, InferIssue<TWrapped>>
import { type OptionalSchema } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/schemas/index.ts";
Optional schema type.
Type Parameters
TWrapped extends BaseSchema<unknown, unknown, BaseIssue<unknown>>