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

    Interface $ZodCatchDef<T>

    interface $ZodCatchDef<T extends SomeType = $ZodType> {
        catchValue: (ctx: $ZodCatchCtx) => unknown;
        checks?: $ZodCheck<never>[];
        error?: $ZodErrorMap<never>;
        innerType: T;
        type: "catch";
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    catchValue: (ctx: $ZodCatchCtx) => unknown
    checks?: $ZodCheck<never>[]
    error?: $ZodErrorMap<never>
    innerType: T
    type: "catch"