Type alias CaptureResultsMethod<T, M, F>
CaptureResultsMethod<T, M, F>: (() => CaptureResult<F extends ((...a) => any) ? F : ((...a) => any)>[]) & { args: (() => OverloadParams<F extends ((...a) => any) ? F : ((...a) => any)>[]); calls: CaptureResult<F extends ((...a) => any) ? F : ((...a) => any)>[]; restore: (() => void); } Type declaration
args: (() => OverloadParams<F extends ((...a) => any)
? F
: ((...a) => any)>[])
calls: CaptureResult<F extends ((...a) => any)
? F
: ((...a) => any)>[]
restore: (() => void)
The method returned by @tapjs/intercept!Interceptor#capture, which returns the @tapjs/intercept!CaptureResult array when called, and has methods to restore or get args, and exposes the list of calls