Compiler flag to specify line ending #1693

This commit is contained in:
Keith Mashinter
2015-04-26 11:37:02 -04:00
committed by kmashint
parent 1625a6c314
commit 532f92b88f
5 changed files with 32 additions and 1 deletions

View File

@@ -66,6 +66,13 @@ module ts {
paramType: Diagnostics.KIND,
error: Diagnostics.Argument_for_module_option_must_be_commonjs_amd_system_or_umd
},
{
name: "newLine",
type: { "crlf": NewLineKind.CRLF, "lf": NewLineKind.LF },
description: Diagnostics.Emit_newline_Colon_CRLF_dos_or_LF_unix,
paramType: Diagnostics.NEWLINE,
error: Diagnostics.Argument_for_newLine_option_must_be_CRLF_or_LF
},
{
name: "noEmit",
type: "boolean",