From 338a9b8c48043bebe0060cf335523042a9750a4f Mon Sep 17 00:00:00 2001 From: ntziolis Date: Wed, 26 Feb 2020 08:23:47 +0100 Subject: [PATCH] feat(readme): updated list of interfaces --- README.md | 2 +- projects/ngx-sub-form/src/lib/ngx-sub-form.types.ts | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 537ea5dc..ff5e90b0 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ If you want to see the demo in action, please visit [https://cloudnc.github.io/n - 2 classes for top level form components: `NgxRootFormComponent`, `NgxAutomaticRootFormComponent` - 2 classes for sub level form components: `NgxSubFormComponent`, `NgxSubFormRemapComponent` -- 5 interfaces: `Controls`, `ControlsNames`, `FormGroupOptions`, `TypedAbstractControl`, `TypedFormArray` +- 7 interfaces: `Controls`, `ControlsNames`, `FormGroupOptions`, `TypedFormGroup`, `TypedFormArray`, `TypedFormControl`, `TypedAbstractControl` - 1 function: `subformComponentProviders` So there's actually nothing to setup (like a module), you can just use them directly. diff --git a/projects/ngx-sub-form/src/lib/ngx-sub-form.types.ts b/projects/ngx-sub-form/src/lib/ngx-sub-form.types.ts index e459ae07..8f881c3d 100644 --- a/projects/ngx-sub-form/src/lib/ngx-sub-form.types.ts +++ b/projects/ngx-sub-form/src/lib/ngx-sub-form.types.ts @@ -1,12 +1,6 @@ import { FormControl, FormGroup, ValidationErrors } from '@angular/forms'; import { Observable } from 'rxjs'; -import { - ArrayPropertyKey, - ArrayPropertyValue, - Controls, - FormUpdate, - TypedFormGroup, -} from './ngx-sub-form-utils'; +import { ArrayPropertyKey, ArrayPropertyValue, Controls, FormUpdate, TypedFormGroup } from './ngx-sub-form-utils'; // @deprecated export interface OnFormUpdate {