5
5
``` ts
6
6
7
7
import { _AbstractConstructor as _AbstractConstructor_2 } from ' @angular/material/core' ;
8
+ import { AbstractControl } from ' @angular/forms' ;
8
9
import { AfterViewChecked } from ' @angular/core' ;
9
10
import { BooleanInput } from ' @angular/cdk/coercion' ;
10
11
import { ChangeDetectorRef } from ' @angular/core' ;
@@ -14,7 +15,6 @@ import { EventEmitter } from '@angular/core';
14
15
import { FocusableOption } from ' @angular/cdk/a11y' ;
15
16
import { FocusOptions as FocusOptions_2 } from ' @angular/cdk/a11y' ;
16
17
import { FocusOrigin } from ' @angular/cdk/a11y' ;
17
- import { FormControl } from ' @angular/forms' ;
18
18
import { FormGroupDirective } from ' @angular/forms' ;
19
19
import { HighContrastModeDetector } from ' @angular/cdk/a11y' ;
20
20
import * as i0 from ' @angular/core' ;
@@ -133,7 +133,7 @@ export const defaultRippleAnimationConfig: {
133
133
// @public
134
134
export class ErrorStateMatcher {
135
135
// (undocumented)
136
- isErrorState(control : FormControl | null , form : FormGroupDirective | NgForm | null ): boolean ;
136
+ isErrorState(control : AbstractControl | null , form : FormGroupDirective | NgForm | null ): boolean ;
137
137
// (undocumented)
138
138
static ɵfac: i0 .ɵɵFactoryDeclaration <ErrorStateMatcher , never >;
139
139
// (undocumented)
@@ -568,7 +568,7 @@ export function setLines(lines: QueryList<unknown>, element: ElementRef<HTMLElem
568
568
// @public
569
569
export class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {
570
570
// (undocumented)
571
- isErrorState(control : FormControl | null , form : FormGroupDirective | NgForm | null ): boolean ;
571
+ isErrorState(control : AbstractControl | null , form : FormGroupDirective | NgForm | null ): boolean ;
572
572
// (undocumented)
573
573
static ɵfac: i0 .ɵɵFactoryDeclaration <ShowOnDirtyErrorStateMatcher , never >;
574
574
// (undocumented)
0 commit comments