Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/terminal > INormalizeNewlinesTextRewriterOptions

INormalizeNewlinesTextRewriterOptions interface

Constructor options for NormalizeNewlinesTextRewriter

Signature:

export interface INormalizeNewlinesTextRewriterOptions 

Properties

PropertyModifiersTypeDescription
ensureNewlineAtEnd?boolean(Optional) If true, then NormalizeNewlinesTextRewriter.close() will append a newline to the output if it ends with an incomplete line.
newlineKindNewlineKindSpecifies how newlines should be represented in the output stream.