mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
a
This commit is contained in:
parent
b7282c9fc3
commit
b34958bb6e
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