In the process of updating my Angular 5 app to Angular 6 and transitioning from rxjs 5 to rxjs 6, I am encountering challenges when migrating the following block of code:
const myObservable = Observable.create(subscriber => {
// do something with the subscriber
}).share();
I am specifically facing this error message:
TypeError: Observable_1.Observable.create(...).share is not a functionTypeError: Observable_1.Observable.create(...).share is not