{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/meteor-angular2.0-socially/issues/23","labels_url":"https://api.github.com/repos/Urigo/meteor-angular2.0-socially/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/meteor-angular2.0-socially/issues/23/comments","events_url":"https://api.github.com/repos/Urigo/meteor-angular2.0-socially/issues/23/events","html_url":"https://github.com/Urigo/meteor-angular2.0-socially/issues/23","id":124402079,"number":23,"title":"Compiler error after \"meteor add tmeasday:publish-counts\"","user":{"login":"ylcoder","id":8109615,"avatar_url":"https://avatars.githubusercontent.com/u/8109615?v=3","gravatar_id":"","url":"https://api.github.com/users/ylcoder","html_url":"https://github.com/ylcoder","followers_url":"https://api.github.com/users/ylcoder/followers","following_url":"https://api.github.com/users/ylcoder/following{/other_user}","gists_url":"https://api.github.com/users/ylcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ylcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylcoder/subscriptions","organizations_url":"https://api.github.com/users/ylcoder/orgs","repos_url":"https://api.github.com/users/ylcoder/repos","events_url":"https://api.github.com/users/ylcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ylcoder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-30T21:29:38Z","updated_at":"2016-01-12T05:36:35Z","closed_at":"2016-01-04T12:48:31Z","body":"In chapter 12 for Angular 2, after \"meteor add tmeasday:publish-counts\", there is no type definition generated for the package and got the following error:\r\n\r\n=> Started proxy.\r\n=> Started MongoDB.\r\nserver/parties.ts (26, 5): Cannot find name 'Counts'.\r\n=> Started your app.\r\n//server/parties.ts\r\nMeteor.publish('parties', function(options) {\r\n    Counts.publish(this, 'numberOfParties', Parties.find(buildQuery.call(this)), { noReady: true });\r\n    return Parties.find(buildQuery.call(this), options);\r\n});\r\n\r\nIs there anything additional I need to do to add the type definitions for the new package?  It seemed work for other packages. Should that be automatic when add meteor packages?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/Urigo/meteor-angular2.0-socially/issues/comments/170801026","html_url":"https://github.com/Urigo/meteor-angular2.0-socially/issues/23#issuecomment-170801026","issue_url":"https://api.github.com/repos/Urigo/meteor-angular2.0-socially/issues/23","id":170801026,"user":{"login":"ShMcK","id":4660659,"avatar_url":"https://avatars.githubusercontent.com/u/4660659?v=3","gravatar_id":"","url":"https://api.github.com/users/ShMcK","html_url":"https://github.com/ShMcK","followers_url":"https://api.github.com/users/ShMcK/followers","following_url":"https://api.github.com/users/ShMcK/following{/other_user}","gists_url":"https://api.github.com/users/ShMcK/gists{/gist_id}","starred_url":"https://api.github.com/users/ShMcK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShMcK/subscriptions","organizations_url":"https://api.github.com/users/ShMcK/orgs","repos_url":"https://api.github.com/users/ShMcK/repos","events_url":"https://api.github.com/users/ShMcK/events{/privacy}","received_events_url":"https://api.github.com/users/ShMcK/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T05:36:35Z","updated_at":"2016-01-12T05:36:35Z","body":"There is an existing [`publish-counts.d.ts`](https://github.com/correpw/meteor-publish-counts.d.ts/blob/master/Counts.d.ts) file, though it has yet to be published to definitely-typed. \r\n\r\nI've proposed a [link](https://github.com/ShMcK/angular-meteor/commit/9ceb9b894b7e612b54b4bcd98789d525dec0f8f9) to the definition in the tutorial and a [request for it to get published](https://github.com/correpw/meteor-publish-counts.d.ts/issues/1)."}}