Interface CaptureResultReturned<F>

Results of @tapjs/intercept!Interceptor#capture where function returned

interface CaptureResultReturned<F> {
    args: TupleUnion<FilterUnknown<OverloadParamsTuple<F>>>;
    at?: CallSiteLike;
    receiver: Receiver<F>;
    returned: TupleUnion<UnarrayArray<FilterTupleUnknown<ORTuple<F>>>>;
    stack?: string;
    threw: false;
}

Type Parameters

  • F extends ((...a: any[]) => any)

    the function that was captured

Hierarchy (view full)

Properties

receiver: Receiver<F>
stack?: string
threw: false