Module

x/zod/mod.ts>z.ZodRecord.create

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodRecord.create
import { z } from "https://dotland.deno.dev/x/zod@v3.19.0/mod.ts";
const { ZodRecord } = z;

Parameters

valueType: Value
optional
params: RawCreateParams

Type Parameters

Keys extends KeySchema
Value extends ZodTypeAny

Parameters

keySchema: Keys
valueType: Value
optional
params: RawCreateParams