summaryrefslogtreecommitdiff
path: root/src/index.d.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2016-12-29 07:49:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2016-12-29 07:49:51 +0900
commitb3f42e62af698a67c2250533c437569559f1fdf9 (patch)
treecdf6937576e99cccf85e6fa3aa8860a1173c7cfb /src/index.d.ts
downloadmisskey-b3f42e62af698a67c2250533c437569559f1fdf9.tar.gz
misskey-b3f42e62af698a67c2250533c437569559f1fdf9.tar.bz2
misskey-b3f42e62af698a67c2250533c437569559f1fdf9.zip
Initial commit :four_leaf_clover:
Diffstat (limited to 'src/index.d.ts')
-rw-r--r--src/index.d.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/index.d.ts b/src/index.d.ts
new file mode 100644
index 0000000000..0af8362122
--- /dev/null
+++ b/src/index.d.ts
@@ -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;
+ }
+}