[common/hc] Add hh.emitter to typedefs
This commit is contained in:
parent
a8ca6cbaca
commit
f7803324c9
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue