2

We are slowly updagrading from angular 4 to 5 then 6. So we upgraded rxjs. I used to do

Observable.of(test').do(i=>console.log(i))

In the new rxjs, I can't find the do operator something like:

of('test')
.pipe(do(i=>console.log(i)
)

What's the proper way ?

Stefdelec
  • 2,711
  • 3
  • 33
  • 40

0 Answers0