mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
14 lines
448 B
TypeScript
14 lines
448 B
TypeScript
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.
|
|
getModuleOptions: (moduleName: string) => Record<string, any>;
|
|
};
|
|
|
|
const wreq: (module: string) => any;
|
|
}
|