Skip to main content
Module

x/deno_books/deps.ts>z.ZodTransformer

Access OpenLibrary's API with Deno.
Go to Latest
class z.ZodTransformer
import { z } from "https://deno.land/x/deno_books@v1.4.0/deps.ts";
const { ZodTransformer } = z;

Type Parameters

T extends ZodTypeAny
optional
Output = output<T>
optional
Input = input<T>

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, ctx: RefinementCtx) => unknown,
schema: I,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"], unknown>