@iotize/tap-scripts
Version:
IoTize Tap scripts
11 lines (10 loc) • 448 B
TypeScript
import { InstructionInterface } from './instruction.interface';
import { TestRunnerContextInterface } from '../test-runner-context-interface';
export declare abstract class AbstractInstruction<ReturnType> implements InstructionInterface<ReturnType> {
/**
* Instruction as a text
*/
text?: string;
constructor(text?: string);
abstract run(context: TestRunnerContextInterface): Promise<ReturnType> | ReturnType;
}