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

x/zod/index.ts>ZodRecord.create

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

Parameters

valueType: Value
optional
params: RawCreateParams

Type Parameters

Keys extends KeySchema
Value extends ZodTypeAny

Parameters

keySchema: Keys
valueType: Value
optional
params: RawCreateParams