docs(forms): typo word "property" was missing (#40323)

Word "property" was missing in @returns description of minLength
PR Close #40323
This commit is contained in:
SylvainJanet 2021-01-06 15:33:46 +01:00 committed by Joey Perrott
parent d4327d51d1
commit fdec650ef2

View File

@ -293,7 +293,7 @@ export class Validators {
* ``` * ```
* *
* @returns A validator function that returns an error map with the * @returns A validator function that returns an error map with the
* `minlength` if the validation check fails, otherwise `null`. * `minlength` property if the validation check fails, otherwise `null`.
* *
* @see `updateValueAndValidity()` * @see `updateValueAndValidity()`
* *
@ -576,4 +576,4 @@ export function getControlValidators(control: AbstractControl): ValidatorFn|Vali
export function getControlAsyncValidators(control: AbstractControl): AsyncValidatorFn| export function getControlAsyncValidators(control: AbstractControl): AsyncValidatorFn|
AsyncValidatorFn[]|null { AsyncValidatorFn[]|null {
return (control as any)._rawAsyncValidators as AsyncValidatorFn | AsyncValidatorFn[] | null; return (control as any)._rawAsyncValidators as AsyncValidatorFn | AsyncValidatorFn[] | null;
} }