Module

x/zod/mod.ts>RecordType

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

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>>