@ganache/utils
Version:
Utility functions for @ganache packages
15 lines • 400 B
TypeScript
/**
* Base implementation for an API.
* All properties must be `async` callable or return a `Promise`
*/
declare class ApiBase {
readonly [index: string]: (...args: unknown[]) => Promise<unknown>;
}
/**
* Defines the interface for a API.
* All properties must be `async` callable or return a `Promise`
*/
export interface Api extends ApiBase {
}
export {};
//# sourceMappingURL=api.d.ts.map