calckey/src/globals.d.ts

12 lines
189 B
TypeScript
Raw Normal View History

2016-12-29 02:02:55 +00:00
import * as mongodb from 'mongodb';
import { IConfig } from './config';
declare var config: IConfig;
declare module NodeJS {
interface Global {
config: IConfig;
db: mongodb.Db;
}
}