x/zod/index.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
interface ZodRecordDef
implements ZodTypeDef
import { type ZodRecordDef } from "https://deno.land/x/zod@v3.17.3/index.ts?s=ZodRecordDef";

Type Parameters

optional
Key extends KeySchema = ZodString
[src]
optional
Value extends ZodTypeAny = ZodTypeAny
[src]

Properties

valueType: Value[src]
keyType: Key[src]
typeName: ZodFirstPartyTypeKind.ZodRecord[src]