Interface ZodRecordDef<Key, Value>

interface ZodRecordDef<
    Key extends Zod.z.KeySchema = Zod.z.ZodString,
    Value extends Zod.z.ZodTypeAny = Zod.z.ZodTypeAny,
> {
    description?: string;
    errorMap?: Zod.z.ZodErrorMap;
    keyType: Key;
    typeName: ZodRecord;
    valueType: Value;
}

Type Parameters

Hierarchy (View Summary)

Properties

description?: string
errorMap?: Zod.z.ZodErrorMap
keyType: Key
typeName: ZodRecord
valueType: Value