@tunnel-cast/tunnel-cast
Version:
<br>
11 lines (10 loc) • 465 B
TypeScript
import { FieldConstraintProcedureOptions } from "../../../models/interfaces/field-constraint-procedure-options";
export declare const MATCHES = "matches";
export declare const matches: ({ fieldValue, args }: {
fieldValue: any;
args: any;
}) => any;
export declare const matchesMessageBuilder: ({ fieldName }: {
fieldName: any;
}) => string;
export declare function Matches(pattern: RegExp, options?: FieldConstraintProcedureOptions): PropertyDecorator;