When using tsc
, every file output does not have a newline at the end of the file. Is this intended? If so, it would be nice to have a flag to change this behavior.
To what end? Can you not put newlines at the end of your source files if there's some need for this in your toolchain? Or are you saying your EOF newlines are getting removed?
The original typescript files are formatted with newlines before EOF, and the output es5 files are not.
Happy to take a PR that patches this up