feat(forms): add invalid prop to abstract controls (#10439)

This commit is contained in:
Kara
2016-08-01 18:41:25 -07:00
committed by GitHub
parent 3e377f520e
commit e0eea6c2f4
4 changed files with 23 additions and 1 deletions

View File

@ -5,6 +5,7 @@ export declare abstract class AbstractControl {
errors: {
[key: string]: any;
};
invalid: boolean;
pending: boolean;
pristine: boolean;
root: AbstractControl;
@ -61,7 +62,9 @@ export declare abstract class AbstractControlDirective {
errors: {
[key: string]: any;
};
invalid: boolean;
path: string[];
pending: boolean;
pristine: boolean;
statusChanges: Observable<any>;
touched: boolean;