Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/mod.ts>TransformAction

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface TransformAction
implements BaseTransformation<TInput, TOutput, never>
import { type TransformAction } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/mod.ts";

Transform action type.

Type Parameters

TInput
TOutput

Properties

readonly
type: "transform"

The action type.

readonly
reference: transform

The action reference.

readonly
operation: (input: TInput) => TOutput

The transformation operation.