Home > @rushstack/terminal > ITextRewriterTransformOptions
ITextRewriterTransformOptions interface
Constructor options for TextRewriterTransform.
Signature:
export interface ITextRewriterTransformOptions extends ITerminalTransformOptions
Extends: ITerminalTransformOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
ensureNewlineAtEnd? | boolean | (Optional) If normalizeNewlines or ensureNewlineAtEnd is specified, a NormalizeNewlinesTextRewriter will be appended to the list of rewriters with the specified settings. | |
normalizeNewlines? | NewlineKind | (Optional) If normalizeNewlines or ensureNewlineAtEnd is specified, a NormalizeNewlinesTextRewriter will be appended to the list of rewriters with the specified settings. | |
removeColors? | boolean | (Optional) If specified, a RemoveColorsTextRewriter will be appended to the list of rewriters. | |
textRewriters? | TextRewriter[] | (Optional) A list of rewriters to be applied. More items may be appended to the list, for example if ITextRewriterTransformOptions.removeColors is specified. |