@log-right/base > CaptureFunctionBase
CaptureFunctionBase type​
The function definition for any implementations of capture
. Custom user-defined methods should be sure to align with this.
export declare type CaptureFunctionBase<TFormatted extends FormattedData = FormattedData, TReport extends Report<TFormatted> = Report<TFormatted>, TReturnedCapture = unknown, TResultCapture extends IResult<TReturnedCapture> = IResult<TReturnedCapture>> = (report: TReport) => TResultCapture | unknown;