Added a STRATEGY placeholder for the --moduleResolution option

This commit is contained in:
Christophe Vidal 2016-09-10 09:37:51 +07:00
parent 2305c68560
commit 2bb2b092d4
2 changed files with 6 additions and 1 deletions

View File

@ -294,6 +294,7 @@ namespace ts {
"classic": ModuleResolutionKind.Classic,
}),
description: Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6,
paramType: Diagnostics.STRATEGY,
},
{
name: "allowUnusedLabels",

View File

@ -2472,6 +2472,10 @@
"category": "Message",
"code": 6038
},
"STRATEGY": {
"category": "Message",
"code": 6039
},
"Compilation complete. Watching for file changes.": {
"category": "Message",
"code": 6042
@ -2871,7 +2875,7 @@
"Element implicitly has an 'any' type because index expression is not of type 'number'.": {
"category": "Error",
"code": 7015
},
},
"Index signature of object type implicitly has an 'any' type.": {
"category": "Error",
"code": 7017