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

x/zod/mod.ts>z.RecordType

TypeScript-first schema validation with static type inference
Extremely Popular
Latest
type alias z.RecordType
import { type z } from "https://deno.land/x/zod@v3.23.8/mod.ts";
const { RecordType } = z;

Type Parameters

K extends string | number | symbol
V
definition: [string] extends [K] ? Record<K, V> : [number] extends [K] ? Record<K, V> : [symbol] extends [K] ? Record<K, V> : [BRAND<string | number | symbol>] extends [K] ? Record<K, V> : Partial<Record<K, V>>