how i can add all arrays to one in rxjs for this code?
someObs$ = this.getSomeData$().pipe(
mergeMap(res => res),
groupBy(el => el.class),
mergeMap(group$ => group$.pipe(toArray())),
// how in this place create something like this: [[{},{}], [{},{}], [{},{}]]
shareReplay(1)
)
Thanks for help
