import { type BaseSchema } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/types/index.ts";
Base schema type.
Properties
readonly
reference: (...args: any[]) => BaseSchema<unknown, unknown, BaseIssue<unknown>>The schema reference.
readonly
optional
~types: { readonly input: TInput; readonly output: TOutput; readonly issue: TIssue; } | undefinedThe input, output and issue type.
readonly
~validate: (dataset: UnknownDataset, config?: Config<BaseIssue<unknown>>) => OutputDataset<TOutput, TIssue>Parses unknown input values.