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