@cowwoc/requirements
Version:
A fluent API for enforcing design contracts with automatic message generation.
3 lines (2 loc) • 899 B
text/typescript
export { requireThatNumber, requireThatBoolean, requireThatArray, requireThatSet, requireThatMap, requireThatString, requireThat, assertThatNumber, assertThatBoolean, assertThatArray, assertThatSet, assertThatMap, assertThatString, assertThat, checkIfNumber, checkIfBoolean, checkIfArray, checkIfSet, checkIfMap, checkIfString, checkIf, updateConfiguration, getContext, withContext, removeContext, Configuration, TerminalEncoding, JavascriptValidators, Type, TypeCategory, AssertionError, type SetValidator, type StringValidator, type MapValidator, type NumberValidator, type BooleanValidator, type UnknownValidator, type ElementOf, type MapKey, type MapValue, type ClassConstructor, type ArrayValidator, type ConfigurationUpdater, type Validators, type UnsignedNumberValidator, type StringMapper } from "./internal/internal.mjs";
export type { GlobalConfiguration } from "./internal/internal.mjs";