deth
Version:
Ethereum node focused on Developer Experience
12 lines (11 loc) • 384 B
TypeScript
import { FileSystem } from '../fs/FileSystem';
import { Path } from '../fs/Path';
/**
* Loads config from a directory
* TODO:
* - support autofinding file based only on dir path
* - support at least JSON/JS/TS
* - typecheck config with iots
* - load BN values as strings in JSON
*/
export declare function loadConfig(fs: FileSystem, path: Path): import("./config").NodeConfig;