Interface ZodRecordDef<Key, Value>

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

Type Parameters

Hierarchy (View Summary)

Properties

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