Home > @rushstack/terminal > INormalizeNewlinesTextRewriterOptions
INormalizeNewlinesTextRewriterOptions interface
Constructor options for NormalizeNewlinesTextRewriter
Signature:
export interface INormalizeNewlinesTextRewriterOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| ensureNewlineAtEnd? | boolean | (Optional) If true, then NormalizeNewlinesTextRewriter.close() will append a newline to the output if it ends with an incomplete line. | |
| newlineKind | NewlineKind | Specifies how newlines should be represented in the output stream. |