Skip to content

TypeScript service compiling doesn't use "newLine" option from tsconfig #19247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
anstarovoyt opened this issue Oct 17, 2017 · 1 comment
Closed
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@anstarovoyt
Copy link

OS: MacOS
tsconfig.json:
{ "compilerOptions": { "newLine": "CRLF" } }
I am trying to run "project.emitFile()" (ts2.6) but the compiler doesn't use the "newLine" option.

@anstarovoyt
Copy link
Author

anstarovoyt commented Oct 17, 2017

the related issue in WebStorm tracker https://youtrack.jetbrains.com/issue/WEB-22630
I have resolved the issue by adding a workaround on our side but the workaround isn't reliable
and doesn't work for ts2.6

@mhegazy mhegazy added the Bug A bug in TypeScript label Oct 17, 2017
@mhegazy mhegazy added this to the TypeScript 2.6.2 milestone Oct 17, 2017
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Oct 18, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants