mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-27 06:18:40 +09:00
a
This commit is contained in:
parent
b7282c9fc3
commit
b34958bb6e
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 New Issue
Block a user