Home > @rushstack/terminal > TextRewriter > process
TextRewriter.process() method
Rewrite the next sequence of characters from the input stream, returning the modified output.
Signature:
abstract process(state: TextRewriterState, input: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
state | TextRewriterState | |
input | string |
Returns:
string