UNPKG

@ngspot/ngx-errors

Version:

<p align="center"> <img width="20%" height="20%" src="https://github.com/DmitryEfimenko/ngspot/blob/main/packages/ngx-errors/package/assets/logo.png?raw=true"> </p>

12 lines (11 loc) 654 B
import { FormGroupDirective, NgForm } from '@angular/forms'; import * as i0 from "@angular/core"; export type MaybeParentForm = FormGroupDirective | NgForm | null; export declare class NgxErrorsFormDirective { private ngForm; private formGroupDirective; constructor(ngForm: NgForm | null, formGroupDirective: FormGroupDirective | null); get form(): MaybeParentForm; static ɵfac: i0.ɵɵFactoryDeclaration<NgxErrorsFormDirective, [{ optional: true; self: true; }, { optional: true; self: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgxErrorsFormDirective, "form", ["ngxErrorsForm"], {}, {}, never, never, true, never>; }