Module

x/zod/mod.ts>ZodRecord.create

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

Parameters

valueType: Value
optional
params: RawCreateParams

Type Parameters

Keys extends KeySchema
Value extends ZodTypeAny

Parameters

keySchema: Keys
valueType: Value
optional
params: RawCreateParams