Aller au contenu principal

@log-right/base > formatBase

formatBase variable​

A helper function that will handle converting the Result objects returned from a failed process into a Report

Signature:
formatBase: <TFormatted extends FormattedData = FormattedData>(result: IResult) => IResult<Report<TFormatted>, any, any>