Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pup/deps.ts>z.ZodEffects

Universal process manager built in Deno
Go to Latest
class z.ZodEffects
import { z } from "https://deno.land/x/pup@1.0.0-alpha-27/deps.ts";
const { ZodEffects } = 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) => unknown,
schema: I,
params?: RawCreateParams,
) => ZodEffects<I, I["_output"], unknown>