misskey/src/globals.d.ts

12 lines
189 B
TypeScript
Raw Normal View History

2016-12-29 03:02:55 +01:00
import * as mongodb from 'mongodb';
import { IConfig } from './config';
declare var config: IConfig;
declare module NodeJS {
interface Global {
config: IConfig;
db: mongodb.Db;
}
}