libs/nx/src/executors/shared/metadata-utils/__test/my-team-plugin-lib/src/lib/escaped-max-length/escaped-max-length.service.ts
Properties |
Methods |
validate | ||||||
validate(escapedMaxLength: number)
|
||||||
Parameters :
Returns :
ValidatorFn
|
type |
Type : PluginValidatorType
|
Default value : 'PLUGIN_MYTEAM_ESCAPED_MAX_LENGTH'
|
import { PluginValidator, PluginValidatorType } from '@allianz/taly-core';
import { Injectable } from '@angular/core';
import { ValidatorFn } from '@angular/forms';
@Injectable({ providedIn: 'root' })
export class EscapedMaxLengthValidator implements PluginValidator {
type: PluginValidatorType = 'PLUGIN_MYTEAM_ESCAPED_MAX_LENGTH';
validate(escapedMaxLength: number): ValidatorFn {
return null;
}
}