mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
a
This commit is contained in:
parent
1dd136fc02
commit
1fd9f304a7
1 changed files with 11 additions and 0 deletions
11
src/globals.d.ts
vendored
Normal file
11
src/globals.d.ts
vendored
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue