set controls of formarray code example
Example: formarray set value at index
((this.form.get('controls') as FormArray).at(index) as FormGroup).get('description').patchValue(item.description);
((this.form.get('controls') as FormArray).at(index) as FormGroup).get('description').patchValue(item.description);