@tunnel-cast/tunnel-cast
Version:
<br>
11 lines (10 loc) • 562 B
TypeScript
import { FieldConstraintProcedureOptions } from "../../../models/interfaces/field-constraint-procedure-options";
import { FieldConstraintFn } from "../../../models/interfaces/field-constraint-fn";
export declare const ENDS_WITH = "endsWith";
export declare const endsWith: FieldConstraintFn<{
value: Array<any> | string | any;
}>;
export declare const endsWithMessageBuilder: ({ fieldName }: {
fieldName: any;
}) => string;
export declare function EndsWith(value: Array<any> | string | any, options?: FieldConstraintProcedureOptions): PropertyDecorator;