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

This commit is contained in:
Aya Morisawa 2016-12-29 11:00:42 +09:00
parent d1e58cacb8
commit 1dd136fc02

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;
}
}