galeforce-tmp-sea
Version:
A customizable, promise-based, and command-oriented TypeScript library for the Riot Games API.
14 lines • 385 B
TypeScript
import { Payload } from '../payload';
/**
* A generic interface for an executable (i.e., an Action with a `payload` object
* and `.exec()` function).
*/
export interface Executable {
payload: Payload;
exec: () => Promise<unknown>;
}
/**
* The generic mixin constructor type.
*/
export type Constructor = new (...args: any[]) => {};
//# sourceMappingURL=executable.d.ts.map