Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.ZodMapDef

import type { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { ZodMapDef } = z;
interface ZodMapDef <Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
keyType: Key;
valueType: Value;
}

§Type Parameters

§Extends

§Properties

§
keyType: Key
[src]
§
valueType: Value
[src]