Skip to content

Commit

Permalink
Step 13.15: Add declaration of counts package
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored and DAB0mB committed Dec 14, 2016
1 parent 8eb3efd commit 8d92d4a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion typings.d.ts
Expand Up @@ -25,4 +25,15 @@ declare module '*.css' {
declare module '*.sass' {
const style: string;
export default style;
}
}

declare module 'meteor/tmeasday:publish-counts' {
import { Mongo } from 'meteor/mongo';

interface CountsObject {
get(publicationName: string): number;
publish(context: any, publicationName: string, cursor: Mongo.Cursor, options: any): number;
}

export const Counts: CountsObject;
}

0 comments on commit 8d92d4a

Please sign in to comment.