Skip to main content
Module

x/zod/external.ts>ZodMapDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface ZodMapDef
implements ZodTypeDef
import { type ZodMapDef } from "https://deno.land/x/zod@v3.17.10/external.ts";

Type Parameters

optional
Key extends ZodTypeAny = ZodTypeAny
optional
Value extends ZodTypeAny = ZodTypeAny

Properties

valueType: Value
keyType: Key
typeName: ZodFirstPartyTypeKind.ZodMap