fix: missing export for validators
This commit is contained in:
parent
82e7ecd611
commit
91c64d2b8d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue