This commit is contained in:
parent
b7282c9fc3
commit
b34958bb6e
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue