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