[common/hc] Add hh.emitter to typedefs
This commit is contained in:
parent
a8ca6cbaca
commit
f7803324c9
|
@ -1,7 +1,9 @@
|
||||||
export {};
|
export {};
|
||||||
|
import { EventEmitter } from 'events';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
const hh: {
|
const hh: {
|
||||||
|
emitter: EventEmitter;
|
||||||
constants: Record<string, string> & { categories: Record<string, string> };
|
constants: Record<string, string> & { categories: Record<string, string> };
|
||||||
// TODO: Maybe turn this into something that, based on the moduleName, can
|
// TODO: Maybe turn this into something that, based on the moduleName, can
|
||||||
// fetch an ext's actual config type and return that instead.
|
// fetch an ext's actual config type and return that instead.
|
||||||
|
|
Loading…
Reference in New Issue