FoundKey/src/globals.d.ts
Aya Morisawa b34958bb6e a
2016-12-29 11:02:55 +09:00

11 lines
189 B
TypeScript

import * as mongodb from 'mongodb';
import { IConfig } from './config';
declare var config: IConfig;
declare module NodeJS {
interface Global {
config: IConfig;
db: mongodb.Db;
}
}