# BaseTransformation

> This document is the Markdown version of [valibot.dev/api/BaseTransformation/](https://valibot.dev/api/BaseTransformation/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Base transformation interface.

## Generics

- `TInput` `extends any`
- `TOutput` `extends any`
- `TIssue` `extends BaseIssue<unknown>`

## Definition

- `BaseTransformation`
  - `kind` `'transformation'`
  - `type` `string`
  - `reference` `(...args: any[]) => BaseTransformation<any, any, BaseIssue<unknown>>`
  - `async` `false`
  - `~run` `(dataset: SuccessDataset<TInput>, config: Config<BaseIssue<unknown>>) => OutputDataset<TOutput, BaseIssue<unknown> | TIssue>`
  - `~types` `{ input: TInput, output: TOutput, issue: TIssue } | undefined`
