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