checksync
Version:
A tool that allows code to be annotated across different files to ensure they remain in sync.
10 lines (9 loc) • 333 B
TypeScript
import { ErrorDetails, IPositionLog } from "./types";
/**
* Maybe report an error to the log.
*
* @param {IPositionLog} log The log for recording errors.
* @param {ErrorDetails} error The error to be reported.
* @returns {void} Nothing
*/
export default function maybeReportError(log: IPositionLog, error: ErrorDetails): void;