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

x/netzo/deps/zod/mod.ts>ZodMap

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
class ZodMap
extends ZodType<Map<Key["_output"], Value["_output"]>, ZodMapDef<Key, Value>, Map<Key["_input"], Value["_input"]>>
import { ZodMap } from "https://deno.land/x/netzo@0.4.62/deps/zod/mod.ts";

Type Parameters

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

Properties

readonly
keySchema
readonly
valueSchema

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>