implemented treat warning as errors commandline option (warnaserror).

This commit is contained in:
Dick van den Brink
2014-10-26 14:53:26 +01:00
parent 290e43ba29
commit 417555c9e9
5 changed files with 15 additions and 4 deletions

View File

@@ -113,6 +113,11 @@ module ts {
type: "boolean",
description: Diagnostics.Print_the_compiler_s_version,
},
{
name: "warnAsError",
type: "boolean",
description: Diagnostics.Report_all_warnings_as_errors,
},
{
name: "watch",
shortName: "w",