sheweny
Version:
The powerful framework for create discord bots
13 lines (12 loc) • 466 B
TypeScript
export declare type Awaitable<T> = PromiseLike<T> | T;
export declare type Constructable<V> = new (...args: unknown[]) => V;
export declare type CallbackFunctionVariadic = (...args: any[]) => string;
export interface IMessages {
[key: string]: CallbackFunctionVariadic;
}
declare type Abstract<T> = Function & {
prototype: T;
};
declare type Constructor<T> = new (...args: any[]) => T;
export declare type Class<T> = Abstract<T> | Constructor<T>;
export {};