UNPKG

symfony-style-console

Version:

Use the style and utilities of the Symfony Console in Node.js

26 lines (25 loc) 545 B
import Output from './Output'; /** * An [[OutputInterface]] that buffers its written messages. * * @author Jean-François Simon <contact@jfsimon.fr> * * Original PHP class * * @author Florian Reuschel <florian@loilo.de> * * Port to TypeScript */ export default class BufferedOutput extends Output { private buffer; /** * Empties buffer and returns its content. * * @return string */ fetch(): string; /** * {@inheritdoc} */ protected doWrite(message: string, newline: boolean): void; }