From 91c64d2b8d898faff437cd60bc22560c381ee45f Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 2 Aug 2016 12:12:15 -0700 Subject: [PATCH] fix: missing export for validators --- modules/@angular/forms/src/directives/validators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/forms/src/directives/validators.ts b/modules/@angular/forms/src/directives/validators.ts index 49fd77abdb..fa3ddceba8 100644 --- a/modules/@angular/forms/src/directives/validators.ts +++ b/modules/@angular/forms/src/directives/validators.ts @@ -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,