Interface ZodMapDef<Key, Value>

interface ZodMapDef<
    Key extends ZodTypeAny = ZodTypeAny,
    Value extends ZodTypeAny = ZodTypeAny,
> {
    description?: string;
    errorMap?: ZodErrorMap;
    keyType: Key;
    typeName: ZodMap;
    valueType: Value;
}

Type Parameters

Hierarchy (View Summary)

Properties

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