@cowwoc/requirements
Version:
A fluent API for enforcing design contracts with automatic message generation.
12 lines (11 loc) • 417 B
text/typescript
import type { MessageSection } from "./MessageSection.mjs";
/**
* A section of key-pair pairs that contain contextual information related to a validation failure.
*/
declare class ContextSection implements MessageSection {
readonly value: Map<string, string>;
constructor(value: Map<string, string>);
getMaxKeyLength(): number;
getLines(maxKeyLength: number): string[];
}
export { ContextSection };