@allgemein/schema-api
Version:
Library for schema api
7 lines (6 loc) • 308 B
TypeScript
import { IValidateOptions } from '../../lib/validation/IValidateOptions';
export interface IMaxLengthOptions extends IValidateOptions {
maxLength?: number;
message?: string;
}
export declare function MaxLength(value: number, options?: IMaxLengthOptions): (source: any, propertyName: string) => void;