mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix: missing export for validators
This commit is contained in:
@@ -35,7 +35,7 @@ import {NG_VALIDATORS, Validators} from '../validators';
|
||||
*/
|
||||
export interface Validator { validate(c: AbstractControl): {[key: string]: any}; }
|
||||
|
||||
const REQUIRED = Validators.required;
|
||||
export const REQUIRED = Validators.required;
|
||||
|
||||
export const REQUIRED_VALIDATOR: any = {
|
||||
provide: NG_VALIDATORS,
|
||||
|
||||
Reference in New Issue
Block a user