0
0

Rename index.d.s to globals.d.ts

This commit is contained in:
Aya Morisawa 2016-12-29 11:00:42 +09:00
parent deb293c000
commit b7282c9fc3

11
src/index.d.ts vendored
View File

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