@nomiclabs/buidler
Version:
Buidler is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
12 lines • 521 B
TypeScript
import { ValidationError } from "io-ts/lib";
import { Reporter } from "io-ts/lib/Reporter";
export declare function failure(es: ValidationError[]): string[];
export declare function success(): string[];
export declare const DotPathReporter: Reporter<string[]>;
/**
* Validates the config, throwing a BuidlerError if invalid.
* @param config
*/
export declare function validateConfig(config: any): void;
export declare function getValidationErrors(config: any): string[];
//# sourceMappingURL=config-validation.d.ts.map