@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
11 lines (10 loc) • 307 B
TypeScript
/**
* Load all files from a directory.
* @param dirPath The path of the directory to load the files from.
* @returns The loaded files.
* @internal
*/
export declare function loadFiles<T>(dirPath: string): Promise<{
default: T;
}[]>;
export declare function magicImport(path: string): Promise<any>;