interface-forge - v2.5.0
    Preparing search index...

    Interface $ZodCheckMaxSizeInternals<T>

    interface $ZodCheckMaxSizeInternals<T extends HasSize = HasSize> {
        def: $ZodCheckMaxSizeDef;
        issc: $ZodIssueTooBig<T>;
        onattach: ((schema: $ZodType) => void)[];
        when?: (payload: ParsePayload) => boolean;
        check(payload: ParsePayload<T>): MaybeAsync<void>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    The set of issues this check might throw.

    onattach: ((schema: $ZodType) => void)[]
    when?: (payload: ParsePayload) => boolean

    Methods