Skip to content

Commit

Permalink
feat(readme): updated list of interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ntziolis committed Feb 26, 2020
1 parent b61f430 commit 338a9b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>`, `ControlsNames<T>`, `FormGroupOptions<T>`, `TypedAbstractControl<T>`, `TypedFormArray<T>`
- 7 interfaces: `Controls<T>`, `ControlsNames<T>`, `FormGroupOptions<T>`, `TypedFormGroup<T>`, `TypedFormArray<T>`, `TypedFormControl<T>`, `TypedAbstractControl<T>`
- 1 function: `subformComponentProviders`

So there's actually nothing to setup (like a module), you can just use them directly.
Expand Down
8 changes: 1 addition & 7 deletions projects/ngx-sub-form/src/lib/ngx-sub-form.types.ts
Original file line number Diff line number Diff line change
@@ -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<FormInterface> {
Expand Down

0 comments on commit 338a9b8

Please sign in to comment.