src/validation/max-length.model.ts
Properties |
|
constructor(message: string, value: number)
|
Defined in src/validation/max-length.model.ts:3
|
Public value |
value:
|
Type : number
|
Defined in src/validation/max-length.model.ts:7
|
import { Validation, ValidationType } from '.';
export class MaxLength extends Validation {
public constructor(
message: string,
public value: number
) {
super(ValidationType.MAX_LENGTH, message);
}
}