From 38d008501fe2bb99e291bb6c823b1d895e39af11 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 17 Sep 2021 18:36:16 -0400 Subject: update some dependencies --- src/lib/extensions/global.d.ts | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'src/lib') diff --git a/src/lib/extensions/global.d.ts b/src/lib/extensions/global.d.ts index 10869d0..6fd9d58 100644 --- a/src/lib/extensions/global.d.ts +++ b/src/lib/extensions/global.d.ts @@ -1,16 +1,10 @@ +/* eslint-disable no-var */ import { parse, stringify } from 'json5'; import { BushClient } from './discord-akairo/BushClient'; import { BushClientUtil } from './discord-akairo/BushClientUtil'; +type JSON5 = { parse: typeof parse; stringify: typeof stringify }; 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; + var client: BushClient; + var util: BushClientUtil; + var JSON5: JSON5; } -- cgit