Home > @rushstack/terminal > ITextRewriterTransformOptions > ensureNewlineAtEnd
ITextRewriterTransformOptions.ensureNewlineAtEnd property
If normalizeNewlines
or ensureNewlineAtEnd
is specified, a NormalizeNewlinesTextRewriter will be appended to the list of rewriters with the specified settings.
Signature:
ensureNewlineAtEnd?: boolean;
Remarks
See INormalizeNewlinesTextRewriterOptions for details.