x/zod/external.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
interface ZodSetDef
implements ZodTypeDef
import { type ZodSetDef } from "https://deno.land/x/zod@v3.17.3/external.ts?s=ZodSetDef";

Type Parameters

optional
Value extends ZodTypeAny = ZodTypeAny
[src]

Properties

valueType: Value[src]
typeName: ZodFirstPartyTypeKind.ZodSet[src]
minSize: { value: number; message?: string; } | null[src]
maxSize: { value: number; message?: string; } | null[src]