@cucumber/cucumber
Version:
The official JavaScript implementation of Cucumber.
7 lines (6 loc) • 332 B
TypeScript
import * as messages from '@cucumber/messages';
export interface IPickleStepArgumentFunctionMap<T> {
dataTable: (arg: messages.PickleTable) => T;
docString: (arg: messages.PickleDocString) => T;
}
export declare function parseStepArgument<T>(arg: messages.PickleStepArgument, mapping: IPickleStepArgumentFunctionMap<T>): T;