]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/directives/ng-bootstrap-form-validation/cd-form-control.directive.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / directives / ng-bootstrap-form-validation / cd-form-control.directive.ts
index c88afa69a58e02c1529cd5f71c0a6319c8fdba24..8e37f7ddd636c7e6ea076b1d6720167d6faee309 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 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
@@ -63,7 +63,7 @@ export class CdFormControlDirective {
     return controlPath(this.formControlName, this.parent);
   }
 
-  get control(): FormControl {
+  get control(): UntypedFormControl {
     return this.formDirective && this.formDirective.getControl(this);
   }