Skip to main content

@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.

Signature:
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;
References: [FormattedData](/log-right/docs/base.formatteddata), [Report](/log-right/docs/base.report), [IResult](/log-right/docs/base.iresult)