diff options
Diffstat (limited to 'client/src/app/shared/form-validators/form-validator.model.ts')
-rw-r--r-- | client/src/app/shared/form-validators/form-validator.model.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/shared/form-validators/form-validator.model.ts b/client/src/app/shared/form-validators/form-validator.model.ts index 6f2472ccd..31c253b9b 100644 --- a/client/src/app/shared/form-validators/form-validator.model.ts +++ b/client/src/app/shared/form-validators/form-validator.model.ts | |||
@@ -1,7 +1,9 @@ | |||
1 | import { ValidatorFn } from '@angular/forms' | 1 | import { AsyncValidatorFn, ValidatorFn } from '@angular/forms' |
2 | 2 | ||
3 | export type BuildFormValidator = { | 3 | export type BuildFormValidator = { |
4 | VALIDATORS: ValidatorFn[] | 4 | VALIDATORS: ValidatorFn[] |
5 | ASYNC_VALIDATORS?: AsyncValidatorFn[] | ||
6 | |||
5 | MESSAGES: { [ name: string ]: string } | 7 | MESSAGES: { [ name: string ]: string } |
6 | } | 8 | } |
7 | 9 | ||