UNPKG

gherkin

Version:
13 lines (12 loc) 504 B
/// <reference types="node" /> import { Transform, TransformCallback } from 'stream'; import { IGherkinOptions } from '../types'; import { messages } from 'cucumber-messages'; /** * Stream that reads Source messages and writes GherkinDocument and Pickle messages. */ export default class ParserMessageStream extends Transform { private readonly options; constructor(options: IGherkinOptions); _transform(envelope: messages.IEnvelope, encoding: string, callback: TransformCallback): void; }