import { OnDestroy, AfterContentChecked } from '@angular/core'; import { NgControl } from '@angular/forms'; import { Subscription } from 'rxjs/Subscription'; import { TranslateService } from '../../translate/translate.service'; import { NzFormItemDirective } from 'ng-zorro-antd'; /** * 显示一条错误 * * @export * @class FormControlValidatorComponent * @implements {AfterContentChecked} */ export declare class FormControlValidatorComponent implements OnDestroy, AfterContentChecked { private translate; private _nzFormItem; private _errorPrefix; private _fieldPrefix; private _pending; msg: string; error$: Subscription; fieldPrefix: string; errorPrefix: string; pending: string; ngControl: NgControl; constructor(translate: TranslateService, _nzFormItem: NzFormItemDirective); ngAfterContentChecked(): void; ngOnDestroy(): void; }