Hi there!
I’m getting a typescript console warning when compiling my app.
Property 'Collection' does not exist on type 'typeof Mongo'.
My code:
import { Mongo } from 'meteor/mongo';
import MongoCollection from '../../lib/MongoCollection';
class game extends MongoCollection {
public collection: any;
constructor() {
super();
this.collection = new Mongo.Collection('games');
}
}
export let Game = new game();
the app works, it’s just the typescript warning.
any help is appreciated. thanks