echoes/frontend/contracts/capabilityContract.ts

6 lines
123 B
TypeScript
Raw Normal View History

export interface CapabilityProps<T> {
name: string;
description?: string;
execute: (...args: any[]) => Promise<T>;
}