UNPKG

@cowwoc/requirements

Version:

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

9 lines (8 loc) 325 B
import { type ValidatorComponent } from "../internal/internal.mjs"; /** * Validates the state of an unknown value or a value that does not have a specialized validator. * * @typeParam T - the type of the value that is being validated */ type UnknownValidator<T> = ValidatorComponent<T>; export type { UnknownValidator };