Add deprecation notice for some options

This commit is contained in:
Mohamed Hegazy
2017-02-08 12:25:38 -08:00
parent 486757f51f
commit 6837125657
2 changed files with 9 additions and 5 deletions

View File

@@ -501,19 +501,19 @@ namespace ts {
// for correct behaviour, please use outFile
category: "Advanced",
paramType: Diagnostics.FILE,
description: Diagnostics.Concatenate_and_emit_output_to_single_file,
description: Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file,
},
{
name: "reactNamespace",
type: "string",
category: "Advanced",
description: Diagnostics.Specify_the_object_invoked_for_createElement_and_spread_when_targeting_react_JSX_emit
description: Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit
},
{
name: "skipDefaultLibCheck",
type: "boolean",
category: "Advanced",
description: Diagnostics.Skip_type_checking_of_default_library_declaration_files
description: Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files
},
{

View File

@@ -2737,7 +2737,7 @@
"category": "Message",
"code": 6083
},
"Specify the object invoked for createElement and __spread when targeting 'react' JSX emit": {
"[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit": {
"category": "Message",
"code": 6084
},
@@ -3041,7 +3041,7 @@
"category": "Message",
"code": 6159
},
"Skip type checking of default library declaration files.": {
"[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files.": {
"category": "Message",
"code": 6160
},
@@ -3081,6 +3081,10 @@
"category": "Message",
"code": 6169
},
"[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file": {
"category": "Message",
"code": 6170
},
"Variable '{0}' implicitly has an '{1}' type.": {
"category": "Error",