Interface CaptureResultBase<F>

Base type of result objects generated by @tapjs/intercept!Interceptor#capture

interface CaptureResultBase<F> {
    args: TupleUnion<FilterUnknown<OverloadParamsTuple<F>>>;
    at?: CallSiteLike;
    receiver: Receiver<F>;
    stack?: string;
}

Type Parameters

  • F extends ((...a) => any)

    the function that was captured

Hierarchy (view full)

Properties

Properties

receiver: Receiver<F>
stack?: string

Generated using TypeDoc