Skip to content

Commit

Permalink
Step 21.5: Add interfaces to Mongo Collections
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 14, 2016
1 parent 1497816 commit 19394df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions both/collections/images.collection.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { MongoObservable } from 'meteor-rxjs';
import { Meteor } from 'meteor/meteor';
import { Thumb, Image } from "../models/image.model";

export const Images = new MongoObservable.Collection('images');
export const Thumbs = new MongoObservable.Collection('thumbs');
export const Images = new MongoObservable.Collection<Image>('images');
export const Thumbs = new MongoObservable.Collection<Thumb>('thumbs');

0 comments on commit 19394df

Please sign in to comment.