corde
Version:
A simple library for Discord bot tests
9 lines (8 loc) • 319 B
TypeScript
import { IConfigOptions } from "../types";
/**
* @internal
* Register `ts-node` to support typescript written tests.
* @param projectPath Path for tsconfig.json. If it is not provided,
* is tryed to get the file from root.
*/
export declare function registerTsNode(configs: Pick<IConfigOptions, "project">): void;