Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
removeArrayOption(index: number) {
this.actionsSubject.next(new RemoveArrayControlAction(
this.formState.controls.array.id,
index,
));
}
map(id => new RemoveArrayControlAction(id, index)),
).subscribe(this.store);