import { type BaseTransformation } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/types/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.