I’ve installed the meteorhacks: aggregate package in my Meteor Angular2 environment.
However I get the following error running this test code in my publications file:
var test = new Mongo.Collection('test');
test.aggregate();
Typescript throws an error that “[ts] Property ‘aggregate’ does not exist on type ‘Collection<{}>’.”
Does anyone know what/where I might add to the typings definitions?
Thanks!