ReportFunction typeโ
The function definition for any implementations of Report
. This function can be user-defined, and will be called when a specified result is called.
export declare type ReportFunction<TReturned = unknown, TResult extends Result<TReturned> = Result<TReturned>, TReturnedReport = unknown, TResultReport extends Result<TReturnedReport> = Result<TReturnedReport>> = (result: TResult) => TResultReport;