Commit a99d8e9 1 parent 8a18a26 commit a99d8e9 Copy full SHA for a99d8e9
File tree 1 file changed +3
-3
lines changed
src/material/core/common-behaviors
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ type CanUpdateErrorStateCtor = Constructor<CanUpdateErrorState> &
33
33
34
34
/** @docs -private */
35
35
interface HasErrorState {
36
- _parentFormGroup : FormGroupDirective ;
37
- _parentForm : NgForm ;
36
+ _parentFormGroup : FormGroupDirective | null ;
37
+ _parentForm : NgForm | null ;
38
38
_defaultErrorStateMatcher : ErrorStateMatcher ;
39
39
40
40
// These properties are defined as per the `MatFormFieldControl` interface. Since
41
41
// this mixin is commonly used with custom form-field controls, we respect the
42
42
// properties (also with the public name they need according to `MatFormFieldControl`).
43
- ngControl : NgControl ;
43
+ ngControl : NgControl | null ;
44
44
stateChanges : Subject < void > ;
45
45
}
46
46
You can’t perform that action at this time.
0 commit comments