mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +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