{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1513","repository_url":"https://api.github.com/repos/Urigo/angular-meteor","labels_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1513/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1513/comments","events_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1513/events","html_url":"https://github.com/Urigo/angular-meteor/issues/1513","id":195252214,"number":1513,"title":"return type Subscription instead of Observable - typescript","user":{"login":"msio777","id":2778376,"avatar_url":"https://avatars.githubusercontent.com/u/2778376?v=3","gravatar_id":"","url":"https://api.github.com/users/msio777","html_url":"https://github.com/msio777","followers_url":"https://api.github.com/users/msio777/followers","following_url":"https://api.github.com/users/msio777/following{/other_user}","gists_url":"https://api.github.com/users/msio777/gists{/gist_id}","starred_url":"https://api.github.com/users/msio777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msio777/subscriptions","organizations_url":"https://api.github.com/users/msio777/orgs","repos_url":"https://api.github.com/users/msio777/repos","events_url":"https://api.github.com/users/msio777/events{/privacy}","received_events_url":"https://api.github.com/users/msio777/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-13T13:24:59Z","updated_at":"2016-12-21T07:24:41Z","closed_at":"2016-12-21T07:24:41Z","body":"Hi,\r\nI'm using ionic 2 and in this example from [docs](https://angular-meteor.com/api/meteor-rxjs/latest/MeteorObservable#MeteorObservable.subscribe) is probably a mistake if one uses typescript. `this.meteorSubscription` returns `Subscription` type instead of `Observable`\r\n\r\n```\r\n  this.meteorSubscription = MeteorObservable.subscribe<any>(\"myData\").subscribe(() => {\r\n          // Subscription is ready!\r\n       });\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/comments/268454769","html_url":"https://github.com/Urigo/angular-meteor/issues/1513#issuecomment-268454769","issue_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1513","id":268454769,"user":{"login":"dotansimha","id":3680083,"avatar_url":"https://avatars.githubusercontent.com/u/3680083?v=3","gravatar_id":"","url":"https://api.github.com/users/dotansimha","html_url":"https://github.com/dotansimha","followers_url":"https://api.github.com/users/dotansimha/followers","following_url":"https://api.github.com/users/dotansimha/following{/other_user}","gists_url":"https://api.github.com/users/dotansimha/gists{/gist_id}","starred_url":"https://api.github.com/users/dotansimha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotansimha/subscriptions","organizations_url":"https://api.github.com/users/dotansimha/orgs","repos_url":"https://api.github.com/users/dotansimha/repos","events_url":"https://api.github.com/users/dotansimha/events{/privacy}","received_events_url":"https://api.github.com/users/dotansimha/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T07:24:41Z","updated_at":"2016-12-21T07:24:41Z","body":"@msio777 \r\nThe return value of `MeteorObservable.subscribe` is `Observable`, and then you need to `subscribe` on the return value to get `Subscription`. \r\nThe docs are correct. "}}
{"actor":{"display_login":"dotansimha"}}