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

x/cav/test/deps.ts>zod.ZodMap

A server framework for Deno
Go to Latest
class zod.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.2.0-alpha.7/test/deps.ts";
const { ZodMap } = zod;

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>