Open vekexasia opened 8 years ago
I had the same issue. As workaround I used the spread operator to convert from sequence to vararg. Something like:
rx.Observable.zip(
... ([1, 2, 3].map(item => rx.Observable.of(maio ${item}
))),
(...args) => {
console.log(args);
return 'ciao'
})
.subscribe(n => console.log(n)
)
See also http://stackoverflow.com/questions/1316371/converting-an-array-to-a-function-arguments-list
Hello all,
the following example shows the problem:
no items are emitted and project function is not called either. but zip.d.ts has a signature explicitly allowing such call: