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