1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 07:11:47 +09:00
This commit is contained in:
Aya Morisawa 2016-12-29 11:02:55 +09:00
parent b7282c9fc3
commit b34958bb6e

11
src/globals.d.ts vendored Normal file
View File

@ -0,0 +1,11 @@
import * as mongodb from 'mongodb';
import { IConfig } from './config';
declare var config: IConfig;
declare module NodeJS {
interface Global {
config: IConfig;
db: mongodb.Db;
}
}