import { Directive } from '@angular/core' ; import { NzFormLabelComponent , NzFormControlComponent } from 'ng-zorro-antd/form' ; @ Directive ( { selector : '[nsFormItem]' , } ) export class NsFormItemDirective { constructor ( ) { } label : NzFormLabelComponent ; formControl : NzFormControlComponent ; setFormControl ( formControl ) { this . formControl = formControl ; return this ; } setLabel ( label ) { this . label = label ; return this ; } }