UNPKG

meteor-type-validation

Version:

A lightweight set of TypeScript utilities to add proper type inference and validation for your Meteor publications and methods

7 lines (6 loc) 346 B
// Doing a little bit of a hack here so we won't have to depend on an Atmosphere package import type { Meteor as _Meteor } from 'meteor/meteor'; export type { Subscription, DefinedMethods, DefinedPublications } from 'meteor/meteor'; declare const Meteor: unknown; const MeteorGlobal = Meteor as typeof _Meteor; export { MeteorGlobal as Meteor };