Skip to main content
Module

x/zod/external.ts>ZodRecordDef

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

Type Parameters

optional
Key extends KeySchema = ZodString
optional
Value extends ZodTypeAny = ZodTypeAny

Properties

valueType: Value
keyType: Key
typeName: ZodFirstPartyTypeKind.ZodRecord