UNPKG

@maddimathon/build-utilities

Version:

Opinionated utilities for easy build systems in npm projects.

27 lines 711 B
/** * @since 0.1.0-alpha * * @packageDocumentation */ /*! * @maddimathon/build-utilities@0.3.0-alpha.4 * @license MIT */ import type { Config } from '../../types/index.js'; /** * Tests whether the provided object includes all properties required from a * valid {@link Config} object. * * @category Config * * @param test The config object to check for completeness. * * @return False if any required properties are missing or the wrong type. * Otherwise, this returns a {@link Config} object for nice typing. * * @since 0.1.0-alpha * * @internal */ export declare function isConfigValid(test: Config | Partial<Config>): false | Config; //# sourceMappingURL=isConfigValid.d.ts.map