@cucumber/cucumber
Version:
The official JavaScript implementation of Cucumber.
11 lines (10 loc) • 334 B
TypeScript
import * as messages from '@cucumber/messages';
export default class DataTable {
private readonly rawTable;
constructor(sourceTable: messages.PickleTable | string[][]);
hashes(): Record<string, string>[];
raw(): string[][];
rows(): string[][];
rowsHash(): Record<string, string>;
transpose(): DataTable;
}