How to export Collections globally to be seen by console?


Earlier I was doing this:

export const Links = new Mongo.Collection('links'); links = Links

and ‘links’ was available on client console but now after updating to 1.4, it doesn’t work anymore. How do I export my collections globally now? I have tried var links = Links but it doesn’t work either.