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