aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/global.d.ts
blob: 10869d0e2cdbd051b38053a5c7d940cc30480b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
}