aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/global.d.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-05 18:26:55 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-05 18:26:55 -0400
commitf4ed3141722719f26ac2286d57a92b1031accaf3 (patch)
tree9d08f8e52d6dd56dd53a5fdbe585d6147db4c795 /src/lib/extensions/global.d.ts
parentad2077fa157d49c1099f21ac2effe05903c39035 (diff)
downloadtanzanite-f4ed3141722719f26ac2286d57a92b1031accaf3.tar.gz
tanzanite-f4ed3141722719f26ac2286d57a92b1031accaf3.tar.bz2
tanzanite-f4ed3141722719f26ac2286d57a92b1031accaf3.zip
a few fixes and stuff
Diffstat (limited to 'src/lib/extensions/global.d.ts')
-rw-r--r--src/lib/extensions/global.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/extensions/global.d.ts b/src/lib/extensions/global.d.ts
index d4c5f61..10869d0 100644
--- a/src/lib/extensions/global.d.ts
+++ b/src/lib/extensions/global.d.ts
@@ -1,12 +1,16 @@
+import { parse, stringify } from 'json5';
import { BushClient } from './discord-akairo/BushClient';
import { BushClientUtil } from './discord-akairo/BushClientUtil';
declare global {
+ type JSON5 = { parse: typeof parse; stringify: typeof stringify };
namespace NodeJS {
export interface Global {
client: BushClient;
util: BushClientUtil;
+ JSON5: JSON5;
}
}
const client: BushClient;
const util: BushClientUtil;
+ const JSON5: JSON5;
}