Skip to content

Commit 338a9b8

Browse files
committed
feat(readme): updated list of interfaces
1 parent b61f430 commit 338a9b8

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ If you want to see the demo in action, please visit [https://cloudnc.github.io/n
4545

4646
- 2 classes for top level form components: `NgxRootFormComponent`, `NgxAutomaticRootFormComponent`
4747
- 2 classes for sub level form components: `NgxSubFormComponent`, `NgxSubFormRemapComponent`
48-
- 5 interfaces: `Controls<T>`, `ControlsNames<T>`, `FormGroupOptions<T>`, `TypedAbstractControl<T>`, `TypedFormArray<T>`
48+
- 7 interfaces: `Controls<T>`, `ControlsNames<T>`, `FormGroupOptions<T>`, `TypedFormGroup<T>`, `TypedFormArray<T>`, `TypedFormControl<T>`, `TypedAbstractControl<T>`
4949
- 1 function: `subformComponentProviders`
5050

5151
So there's actually nothing to setup (like a module), you can just use them directly.

projects/ngx-sub-form/src/lib/ngx-sub-form.types.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import { FormControl, FormGroup, ValidationErrors } from '@angular/forms';
22
import { Observable } from 'rxjs';
3-
import {
4-
ArrayPropertyKey,
5-
ArrayPropertyValue,
6-
Controls,
7-
FormUpdate,
8-
TypedFormGroup,
9-
} from './ngx-sub-form-utils';
3+
import { ArrayPropertyKey, ArrayPropertyValue, Controls, FormUpdate, TypedFormGroup } from './ngx-sub-form-utils';
104

115
// @deprecated
126
export interface OnFormUpdate<FormInterface> {

0 commit comments

Comments
 (0)