Type Alias CaptureResultsMethod<T, M, F>
CaptureResultsMethod<T, M, F>: (() => CaptureResult<F extends ((...a: any[]) => any) ? F : ((...a: any[]) => any)>[]) & { args: (() => OverloadParams<F extends ((...a: any[]) => any) ? F : ((...a: any[]) => any)>[]); calls: CaptureResult<F extends ((...a: any[]) => any) ? F : ((...a: any[]) => 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