UNPKG

corde

Version:

A simple library for Discord bot tests

14 lines (13 loc) 373 B
import { IConfigOptions } from "../types"; /** * Check if configs are valid. Throws an exception * if there is no parameter or if any required property is * missing. * * @version 1.0 * * @param configs Config parameter that will be validated * * @throws Error if any config is invalid. */ export declare function validate(configs: IConfigOptions): Promise<void>;