Rename index.d.s to globals.d.ts
This commit is contained in:
parent
deb293c000
commit
b7282c9fc3
11
src/index.d.ts
vendored
11
src/index.d.ts
vendored
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user