File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
projects/ngx-sub-form/src/lib Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ export interface TypedFormGroup<TValue> extends FormGroup {
5252 patchValue ( value : Partial < TValue > , options ?: Parameters < FormGroup [ 'patchValue' ] > [ 1 ] ) : void ;
5353}
5454
55- export interface TypedFormArray < TValue > extends FormArray {
55+ export interface TypedFormArray < TValue extends any [ ] > extends FormArray {
5656 value : TValue ;
5757 valueChanges : Observable < TValue > ;
5858 controls : TypedAbstractControl < TValue > [ ] ;
59- setValue ( value : TValue [ ] , options ?: Parameters < FormArray [ 'setValue' ] > [ 1 ] ) : void ;
60- patchValue ( value : Partial < TValue [ ] > , options ?: Parameters < FormArray [ 'patchValue' ] > [ 1 ] ) : void ;
59+ setValue ( value : TValue , options ?: Parameters < FormArray [ 'setValue' ] > [ 1 ] ) : void ;
60+ patchValue ( value : TValue , options ?: Parameters < FormArray [ 'patchValue' ] > [ 1 ] ) : void ;
6161}
6262
6363export interface TypedFormControl < TValue > extends FormGroup {
You can’t perform that action at this time.
0 commit comments