mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: add missing return statement to validate() (#44764)
PR Close #44764
This commit is contained in:
committed by
Andrew Kushnir
parent
811c244a40
commit
999cc7b841
@@ -42,7 +42,7 @@ export class UniqueAlterEgoValidatorDirective implements AsyncValidator {
|
||||
validate(
|
||||
control: AbstractControl
|
||||
): Observable<ValidationErrors | null> {
|
||||
this.validator.validate(control);
|
||||
return this.validator.validate(control);
|
||||
}
|
||||
}
|
||||
// #enddocregion async-validator-directive
|
||||
|
||||
Reference in New Issue
Block a user