I'm curious about the correct type of Observables array. Can you advise?
So far, I've attempted the following:
let myObservables: Observable[] = new Array();
let myObservables: Observable<Array<any>> = new Array();
let myObservables: Observable<[]> = new Array();
Unfortunately, none of these options seem to be working for me.
All I need is an array where I can add observables using push
, so that I can pass it to
Observable.forkJoin(myObservables)
.