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

x/cav/test/test_deps.ts>zod.ZodTransformer

A server framework for Deno
Go to Latest
class zod.ZodTransformer
import { zod } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { ZodTransformer } = zod;

Type Parameters

T extends ZodTypeAny
optional
Output = T["_output"]
optional
Input = T["_input"]

Static Properties

create: <I extends ZodTypeAny>(
schema: I,
effect: Effect<I["_output"]>,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"]>
createWithPreprocess: <I extends ZodTypeAny>(
preprocess: (arg: unknown) => unknown,
schema: I,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"]>