Rxjs Subject next or onNext
问题 I'm quite new at rxjs stuff be patience. For example in this tutorial http://blog.angular-university.io/how-to-build-angular2-apps-using-rxjs-observable-data-services-pitfalls-to-avoid/ but I saw the same code in the ng-book I can see let subject = new Rx.Subject(); subject.subscribe(value => console.log('Received new subject value: ')) subject.next(newValue); but if I put the code in the browser I've got s ubject.next is not a function so if I take a look to the doc https://github.com