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.