Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cav/test/test_deps.ts>zod.z.ZodMap

A server framework for Deno
Go to Latest
class zod.z.ZodMap
extends ZodType<Map<Key["_output"], Value["_output"]>, ZodMapDef<Key, Value>, Map<Key["_input"], Value["_input"]>>
import { zod } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { ZodMap } = zod.z;

Type Parameters

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

Methods

_parse(input: ParseInput): ParseReturnType<this["_output"]>

Static Properties

create: <Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny>(
keyType: Key,
valueType: Value,
params?: RawCreateParams,
) => ZodMap<Key, Value>