*/
import { Directive, Host, HostBinding, Input, Optional, SkipSelf } from '@angular/core';
-import { ControlContainer, FormControl } from '@angular/forms';
+import { ControlContainer, UntypedFormControl } from '@angular/forms';
export function controlPath(name: string, parent: ControlContainer): string[] {
// tslint:disable-next-line:no-non-null-assertion
return controlPath(this.formControlName, this.parent);
}
- get control(): FormControl {
+ get control(): UntypedFormControl {
return this.formDirective && this.formDirective.getControl(this);
}