UNPKG

corde

Version:

A simple library for Discord bot tests

17 lines (16 loc) 381 B
import { Queue } from "../data-structures"; import { VoidLikeFunction } from "../types"; interface HookParams { queueToAdd: Queue<VoidLikeFunction>; fn: () => void | Promise<void>; trace: string; errorTitle: string; timeout?: number; } /** * Add a function to a informed hook * * @internal */ export declare function hookBuilder(params: HookParams): void; export {};