I'm getting this error after i update to angular 5: ERROR TypeError: (intermediate value).share is not a function at new LocalStorageService (local-storage.service.js:45)
The error is at this line: this.errors$ = new Observable_1.Observable(function (observer) { return _this.errors = observer; }).share();
I'm getting this error after i update to angular 5:
ERROR TypeError: (intermediate value).share is not a function at new LocalStorageService (local-storage.service.js:45)
The error is at this line:
this.errors$ = new Observable_1.Observable(function (observer) { return _this.errors = observer; }).share();
Anyone have any idea why it is happening?