Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/frugal/dep/zod.ts>ZodTransformer

A frugal web framework
Go to Latest
class ZodTransformer
import { ZodTransformer } from "https://deno.land/x/frugal@0.3.0/dep/zod.ts";

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"], unknown>