checksync
Version:
A tool that allows code to be annotated across different files to ensure they remain in sync.
11 lines (10 loc) • 422 B
TypeScript
import { ILog, Options } from "./types";
/**
* Load the configuration from the given path.
*
* @param configPath The path to the configuration file.
* @param log The log to use for reporting errors.
* @returns The options loaded from the configuration.
* @throws An error if the configuration file cannot be loaded.
*/
export default function loadConfigurationFile(configPath: string, log: ILog): Promise<Options>;