UNPKG

@cowwoc/requirements

Version:

A fluent API for enforcing design contracts with automatic message generation.

17 lines (16 loc) 607 B
import { type GlobalConfiguration, type ProcessScope } from "../../internal/internal.mjs"; /** * The configuration of an application. A process may contain multiple applications. */ interface ApplicationScope extends ProcessScope { /** * @returns the global configuration inherited by all validators */ getGlobalConfiguration(): GlobalConfiguration; } /** * @param value - a value * @returns true if the value is an instance of `ApplicationScope` */ declare function isApplicationScope(value: unknown): value is ApplicationScope; export { type ApplicationScope, isApplicationScope };