refactor: rename hooks docs and add tests
This commit is contained in:
14
src/hooks/hooks.ts
Normal file
14
src/hooks/hooks.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export * from "./internal-hooks.js";
|
||||
|
||||
export type HookEventType = import("./internal-hooks.js").InternalHookEventType;
|
||||
export type HookEvent = import("./internal-hooks.js").InternalHookEvent;
|
||||
export type HookHandler = import("./internal-hooks.js").InternalHookHandler;
|
||||
|
||||
export {
|
||||
registerInternalHook as registerHook,
|
||||
unregisterInternalHook as unregisterHook,
|
||||
clearInternalHooks as clearHooks,
|
||||
getRegisteredEventKeys as getRegisteredHookEventKeys,
|
||||
triggerInternalHook as triggerHook,
|
||||
createInternalHookEvent as createHookEvent,
|
||||
} from "./internal-hooks.js";
|
||||
Reference in New Issue
Block a user