checksync
Version:
A tool that allows code to be annotated across different files to ensure they remain in sync.
11 lines (10 loc) • 317 B
TypeScript
import { ExitCode } from "./exit-codes";
import { ILog } from "./types";
/**
* Exit the process with the given exit code.
*
* @param log The log to use for logging.
* @param code The exit code to exit with.
* @returns Never. The process exits.
*/
export default function exit(log: ILog, code: ExitCode): never;