UNPKG

394 BTypeScriptView Raw
1import { ValidationArguments } from './ValidationArguments';
2/**
3 * Convert the constraint to a string to be shown in an error
4 */
5export declare function constraintToString(constraint: unknown): string;
6export declare class ValidationUtils {
7 static replaceMessageSpecialTokens(message: string | ((args: ValidationArguments) => string), validationArguments: ValidationArguments): string;
8}
9
\No newline at end of file