fix: missing export for validators

This commit is contained in:
Misko Hevery 2016-08-02 12:12:15 -07:00
parent 82e7ecd611
commit 91c64d2b8d
1 changed files with 1 additions and 1 deletions

View File

@ -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,