[common/hc] Add hh.emitter to typedefs

This commit is contained in:
Alyxia Sother 2023-10-31 10:52:26 +01:00
parent a8ca6cbaca
commit f7803324c9
No known key found for this signature in database
GPG Key ID: 01E16C4E775A37E4
1 changed files with 2 additions and 0 deletions

View File

@ -1,7 +1,9 @@
export {};
import { EventEmitter } from 'events';
declare global {
const hh: {
emitter: EventEmitter;
constants: Record<string, string> & { categories: Record<string, string> };
// TODO: Maybe turn this into something that, based on the moduleName, can
// fetch an ext's actual config type and return that instead.