@cowwoc/requirements
Version:
A fluent API for enforcing design contracts with automatic message generation.
12 lines (11 loc) • 317 B
text/typescript
import type { MessageSection } from "./MessageSection.mjs";
/**
* A string that is added to the error context.
*/
declare class StringSection implements MessageSection {
readonly value: string;
constructor(value: string);
getMaxKeyLength(): number;
getLines(): string[];
}
export { StringSection };