-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'aggregate' does not exist in angular2-meteor #40
Comments
I'm having the same problem, did you resolve this in the end? |
I have the same issue. +1 |
I'm having the same issue. |
Add this to the file that uses the function: /// < reference path="..path../declarations.d.ts" / > And put this in the declarations.d.ts file: declare module Mongo {
} |
I am still getting this error with Angular 4. I had to add |
With angular4 (4.2.0-rc.2) and meteor 1.5.1, I add the meteorhacks:aggregate package. Unfortunately I have the following issue
I completed the *.d.ts file with
and I added the reference to this file I used the aggregate module like this:
|
meteorhacks:aggregate is working for my angular2-meteor project, so I put the details below :
declarations.d.ts file :
My server-side script where I am using the aggregate function:
Hope this helps :) |
Installing package in angular2-meteor project does not work.
To reproduce:
meteor npm install
andmeteor
meteor add meteorhacks:aggregate
Error appears in the terminal:
server/imports/publications/parties.ts (13, 22): Property 'aggregate' does not exist on type 'Collection<{}>'.
The text was updated successfully, but these errors were encountered: