{"action":"created","issue":{"url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/1147","repository_url":"https://api.github.com/repos/Reactive-Extensions/RxJS","labels_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/1147/labels{/name}","comments_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/1147/comments","events_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/1147/events","html_url":"https://github.com/Reactive-Extensions/RxJS/issues/1147","id":137148396,"number":1147,"title":"\"TypeError: Rx.Observable.ofObjectChanges is not a function\"","user":{"login":"hungdluit","id":5623089,"avatar_url":"https://avatars.githubusercontent.com/u/5623089?v=3","gravatar_id":"","url":"https://api.github.com/users/hungdluit","html_url":"https://github.com/hungdluit","followers_url":"https://api.github.com/users/hungdluit/followers","following_url":"https://api.github.com/users/hungdluit/following{/other_user}","gists_url":"https://api.github.com/users/hungdluit/gists{/gist_id}","starred_url":"https://api.github.com/users/hungdluit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungdluit/subscriptions","organizations_url":"https://api.github.com/users/hungdluit/orgs","repos_url":"https://api.github.com/users/hungdluit/repos","events_url":"https://api.github.com/users/hungdluit/events{/privacy}","received_events_url":"https://api.github.com/users/hungdluit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-29T04:36:15Z","updated_at":"2016-03-02T14:22:35Z","closed_at":null,"body":"I'm using typescript version.\r\ntried to create observer object from a class. But get the error \"**TypeError: Rx.Observable.ofObjectChanges is not a function**\"\r\n\r\n`\"use strict\";\r\n\r\n/// <reference path=\"node_modules/rx/ts/rx.all.es6.d.ts\" />\r\n\r\nimport Rx = require(\"rx\");\r\n\r\nclass tester {\r\n    public name: string;\r\n}\r\n\r\nvar t = new tester();\r\nvar source = Rx.Observable.ofObjectChanges(t);\r\n\r\nvar subscription = source.subscribe(\r\n    function (x) {\r\n        console.log('Next: %s', x);\r\n    },\r\n    function (err) {\r\n        console.log('Error: %s', err);\r\n    },\r\n    function () {\r\n        console.log('Completed');\r\n    });\r\n\r\nt.name = \"hung\";\r\n\r\nI tried to take some research but cannot find the solution.\r\nCan someone here help:)"},"comment":{"url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/comments/191255930","html_url":"https://github.com/Reactive-Extensions/RxJS/issues/1147#issuecomment-191255930","issue_url":"https://api.github.com/repos/Reactive-Extensions/RxJS/issues/1147","id":191255930,"user":{"login":"palra","id":4853904,"avatar_url":"https://avatars.githubusercontent.com/u/4853904?v=3","gravatar_id":"","url":"https://api.github.com/users/palra","html_url":"https://github.com/palra","followers_url":"https://api.github.com/users/palra/followers","following_url":"https://api.github.com/users/palra/following{/other_user}","gists_url":"https://api.github.com/users/palra/gists{/gist_id}","starred_url":"https://api.github.com/users/palra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palra/subscriptions","organizations_url":"https://api.github.com/users/palra/orgs","repos_url":"https://api.github.com/users/palra/repos","events_url":"https://api.github.com/users/palra/events{/privacy}","received_events_url":"https://api.github.com/users/palra/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T14:22:35Z","updated_at":"2016-03-02T14:22:35Z","body":"For the moment, `index.js` requires each RxJs modules, one per one. Why is the `main` field in the `package.json` can't just be `dist/rx.all.js` ? Isn't the `rx.all.js` supposed to include every RxJs submodules ?"}}