Skip to content

Commit

Permalink
chore(typings): Fixed missing typings for stub-collections
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Nov 7, 2016
1 parent 477ea4b commit 5d22b3d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions typings.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/// <reference types="zone.js" />
/// <reference types="meteor-typings" />
/// <reference types="@types/underscore" />
/// <reference types="@types/chai" />
/// <reference types="@types/mocha" />

declare module "*.html" {
const template: string;
Expand All @@ -27,3 +29,15 @@ declare module "*.sass" {
export default style;
}

declare module "meteor/hwillson:stub-collections" {
import { Mongo } from "meteor/mongo";

interface IStubCollections {
stub(collection: Mongo.Collection);
restore();s
}

const StubCollections: IStubCollections;

export default StubCollections;
}

0 comments on commit 5d22b3d

Please sign in to comment.