mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[common/hc] Add hh.emitter to typedefs
This commit is contained in:
parent
a8ca6cbaca
commit
f7803324c9
1 changed files with 2 additions and 0 deletions
2
common/hellcooling/config/global.d.ts
vendored
2
common/hellcooling/config/global.d.ts
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue