From f7803324c9bcb9792c1eb1670fc8d21f3945135c Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Tue, 31 Oct 2023 10:52:26 +0100 Subject: [PATCH] [common/hc] Add hh.emitter to typedefs --- common/hellcooling/config/global.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/hellcooling/config/global.d.ts b/common/hellcooling/config/global.d.ts index 6dc9c4b..9bd2abc 100644 --- a/common/hellcooling/config/global.d.ts +++ b/common/hellcooling/config/global.d.ts @@ -1,7 +1,9 @@ export {}; +import { EventEmitter } from 'events'; declare global { const hh: { + emitter: EventEmitter; constants: Record & { categories: Record }; // TODO: Maybe turn this into something that, based on the moduleName, can // fetch an ext's actual config type and return that instead.